Welcome to the new monday developer community
Discussions category for everything related to app development on top of monday.com
Recently active
I have a Python class that worked well until 24/10/2024: query = '''query IntrospectionQuery($typeName: String!) { __type(name: $typeName) { name fields { name description type { name kind ofType { kind name ofType { kind name } } } } } }''' variables = {'typeName': type_name} Since yesterday, I get “introspection error : Variable “$typeName” of required type “String!” was not provided”. Writing the type-name hardcoded into the query works. Other api calls with variables (like list-items that gets board-ids) works. Thank you
When I try to execute this mutation in my code, I get the following error: Mutation: const query = `mutation create_notification($userId: ID!, $targetId: ID!, $text: String!, $targetType: NotificationTargetType!) { create_notification(user_id: $userId, target_id: $targetId, text: $text, target_type: $targetType) { text } }`; targetType = "Post", userId = 12345678, targetId = 2456768, text = "<b>test notification</b>" const variables = { userId, targetId, text, targetType }; const response = await this.mondayClient.execute(query, variables); Error { "text": { "errors": [ { "message": "Unauthorized field or type", "path": [ "create_notification" ], "extensions": { "code": "UNAUTHORIZED_FIELD_OR_TYPE" }
Hi, I have been successfully using the following GraphQL query to fetch records where the checkbox value is ‘true’, but it suddenly stopped working today. Here’s the request API body: query { boards (ids: 1924842771) { items_page (limit: 2, query_params: { rules: [ {column_id: "checkbox", compare_value: [null], operator: is_not_empty} ] }) { items { id name } } } } However, now I am getting the following error: { "errors": [ { "message": "CompareValue cannot represent value: null", "locations": [ { "line": 5, "column": 48 } ], "extensions": { "code": "GRAPHQL_VALIDATION_FAILED" } } ], "account_id": 25960244 } This query was working until yesterday, and nothing was changed on my end. Has there been any recent update to the Monday.com API, or is there something I need to modify in my query to resolve this issue? Thank you for your help!
Hi, I have the following use case/requirement: I want a board with certain columns (for items and subitems) to be added as part of the app installation (its a recipe based app). I’m considering this step as a prerequisite for the successful installation. Assuming I have an Integration for sentence builder feature in my app, how would I to “ask” the installation process to add a board from prebuilt template (or any other kind of method to enable the above use case) ? Is it something that workspace-templates can help with? I added a “Workspace Template” feature (along side with the previous “Integration” one), but I’m not sure how to install it? Maybe it’s not visible in my dev account because it’s a Draft version?? Not sure…
I’ve seen inbuilt recipe sentences that have a subject and body like so: When I add one, the subject line is missing, and the placeholder text isn’t as nice: What am I doing wrong?
Monday.com staff apperars to be highly inefficient in one of the most popular programming languages on earth, PHP. Does anyone have the proper syntax for adding a date, email, and phone from a php script? I am trying to post a new item to a group from a webpage. These three items appear as blanks. Here’s the string: 'email__1' => ['email : ' . $contactEmail . ', text : ' . $firstName . ' ' . $lastName ], Here’s the error message: "error_data":{"column_value":"[\\"email : test@example.com, text : Test Example\\"]","column_type":"EmailColumn"}` From what I can see from the documentation, it appears to have been formatted properly. Thanks, Mark
Hi i Am trying to to call next_items_page in C# with graph API below string string queryNextQuery = “{ "query": "” + @“{ next_items_page(cursor: “”” + cursorObj + “", limit: 2) { cursor items { id name } } }” + “" }”; Its working in Monday API play ground but when we call from C# application its throw error HTTP/1.1 500 Internal Server Error Date: Fri, 30 Sept 2024 16:46:42 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive x-request-id: 1b0d73bf-b731-99b8-b1a0-0308cc78235e x-runtime: 8.957594 x-envoy-upstream-service-time:… Please Provide us Solution what we are missing .
Every time I deploy to Monday Code I get a new Version URL. Do I need to copy this to the Redirect URL or is there some way this is taken care of?
Hello, I’m currently setting up an app which consists of a backend, deployed to a monday code and a frontend packaged as one of the features of the app. As is obvious from the title, requests are rejected by the CORS, but I can’t figure out what the correct origin is. https://monday.com does not work https://{accountslug}.monday.com does not work https://*.monday.com (where * is a wildcard) does not work But when I spin up an app on my PC and allow localhost - everything goes through. So it is not some weird routing issue. Hence, my question. What is the correct origin of the request from one of app features? Thank you.
Hi I have assets attached to my Item in Monday board. When i go to an item in board and under the updates and files the attachments are there. When i try to retrieve the same using an API call the response for assets is blank
Hi, I need to send a list of suppliers to the drop down selection. I am reading the API documentation for the dropdown and I am having difficulty of understanding how to push new values. The only part I see is how to set values which is not what I want to do. Maybe I am missing the full picture, any help greatly appreciated! Thanks!
Hey everyone, I am trying to filter the widget I have developed based on the native filter that is applied on on the widget itself. I can’t seem to get the filter data by using monday.listen(‘filter’) or monday.get(‘filter’), I always get an empty result whenever I use these methods on the widget. Did anyone have any experience with this in the past?
How do I get the order of my subitems?? I have an item where the user chooses from a list of board IDs and then clicks a button. The button triggers Make.com to take all of the item’s subitems and recreate them as items in the selected board. These subitems are being retrieved in order of their item IDs but surely no one is ever going to want to order them by their IDs! How on earth do I keep/find the order in which these subitems are displayed originally?? It took me 30 minutes to set up the whole automation and get it working. Then I spent the next 2 hours until home time trying to figure out how to fix the ordering. I’m getting very frustrated trying to find a work around to something that should be working as a basic minimum. Am I missing something obvious? It should be obvious…
Just reading through monday.execute, I want to use addMultiBlocks to add some blocks to a specific WorkDoc. Looking at the documentation, it does not tell you how to specify the WorkDoc. How do I do that? In contrast, the API for adding a block to a workdoc allows we to specify the doc_id if I use create_doc_block.
Hello. If I go to Document blocks it mentions you can insert a table by specifying column_count and row_count attributes. I have used this to successfully create a table. However, it does not tell you how to add data (or blocks) to that table. I tried adding a cells attribute as suggested by reading a table block but this didn’t work. Can you help please?
I am getting the error in the image. Do you need help with the Monday app? I’m new, so I may not even know the topics that everyone knows. Thanks already for your help.
I was just exploring this api for a couple of days to do some data migration and all was working fine. But just about mid day today it just stopped working. Doesn’t even work on the API playground. Getting internal_server_error now, was getting “custom_activity_id” required a few hours ago. Funny because this parameter is nowhere to be found in the docs. Can someone please verify this? Thanks. Also, what would you suggest me to use to add emails from old CRM System to monday’s activity/email timeline?
I can do an initial query of our board & items but I am having trouble using the built in pagination in Azure data factory. The issue is that this API works differently than most and I have to do a different query and specify a value for the cursor rather than simply an absolute URL for the next page. Can anyone show me how to do this?
Hello, How do I make use of monday-code services when I am developing locally? Python for example? mcode_configuration = monday_code.Configuration(host=“http://localhost:59999”) What do I replace http://localhost:59999 with?? What does a configuration look like? There appears to be no documentation to explain how this would work or even its possible. How can I make use of monday code wrapping monday.code resources such as /secrets /secure-storage/{key} /queue etc…? If its not possible, it would be very difficult to develop/debug etc by pushing to the monday.code hosting location… when I say difficult, virtually impossible. Cheers Jem
Hey all! After a long time, I’m excited to announce that we’re hosting a roadmap session for our developer community! The event will take place online on October 22nd, 2024, at 10 AM EST / 3 PM IDT on Zoom. Please register here In addition, I’m currently planning the next steps for the developer community and would love to hear your thoughts and feedback on what’s missing or could be improved. If you’d like to contribute, please fill out this feedback form.
I’m working on a workdoc app that changes text. Currently, there are two things that would better align with user expectations and improve efficiency: 1) Tie updateDocBlock and the similar mutation into workdoc’s native undo functionality. Right now, when updating a document block with updateDocBlock or the mutation, it’s not possible to undo changes with the “undo” button. For instance, if I have a button that changes all text to uppercase and the user clicks it, they are not able to undo any changes. The undo button will not revert changes made with updateDocBlock - this is something a user would expect since there is an “undo” button. 2) Include nested blocks in focusedBlocks (or something…) Assuming a 2-column layout structure that looks something like: "normal text 1" "layout" "cell" "normal text 3" "normal text 4" "normal text 2" If you select these blocks with the mouse, you only get “normal text 1” and “normal text 2” in the focusedBlocks object. You can ac
When: I started having this problem yesterday (Oct 8, 2024 around 12PM EST). Additionally, Workdocs was down maybe a couple weeks ago and I had the same 500 error. Problem: When trying to update a workdoc block with updateDocBlock or via a mutation, i.e. mutation { update_doc_block (block_id: "7f8c145-989f-48bb-b7f8-dc8f91690g42", content: "{\\"alignment\\":\\"left\\",\\"direction\\":\\"ltr\\",\\"deltaFormat\\":[{\\"insert\\":\\"new block\\"}]}") { id } } …I get a 500 error on this url: PUT https://my-subdomain.monday.com/documents/blocks/57bf99e9-b0a6-4742-9a99-7f30f546e497/update_content What Happens: I execute my code The text updates in the GUI An error message is displayed: “Oops, something went wrong. We couldn’t save your recent changes, please refresh.” I get a 500 error in my browser dev tools and part of the response is a “We are having technical difficulties page.” When I reload the page the changes made in 1. are not persisted. Expected behavior: Changes should p
Hi. I would like to automatically add a block to a WorkDoc that includes indentation. If I query an indented WorkDoc I get the following: { "id": "obfuscated", "type": "bulleted list", "content": "{\\"alignment\\":\\"left\\",\\"direction\\":\\"ltr\\",\\"deltaFormat\\":[{\\"insert\\":\\"Hello3\\"}],\\"indentation\\":2}" } If I mirror the content back using the following GraphQL: mutation ($doc_id: ID!, $content: JSON!) { create_doc_block(type: bulleted_list, doc_id: $doc_id, content: $content) { id } } { "content": "{\\"alignment\\":\\"left\\",\\"direction\\":\\"ltr\\",\\"deltaFormat\\":[{\\"insert\\":\\"Hello3\\"}],\\"indentation\\":2}", "doc_id": 12345 } I get the following error: "error_data": [ { "error_type": "Unrecognized property", "error_msg": "unrecognized property [indentation] in content" } ], Why is it that indentation is fine for reading but not for writing. I did look at the Qui
Is it possible to make all cells for a given column read-only via the API? I’d like the column’s value to only be updated via my item view app. I don’t want users to be able to manually change the cell value for the column my app creates. I’m creating the column itself via this api call: export async function createColumn(boardId: string) { try { const response = await monday.api(` mutation { create_column( board_id: ${boardId} title: "Example Status" column_type: status description: "This column indicates status." defaults: "{\\\\"labels\\\\":{\\\\"0\\\\":\\\\"In Progress\\\\", \\\\"1\\\\":\\\\"To Do\\\\", \\\\"2\\\\":\\\\"Done\\\\"}}" ) { id } } `); return response?.data?.create_column?.id; } catch (error) { console.error("Error creating status column:", error); throw new Error("Failed to create status column"); } } Based on the columns documentation I’m not seei
Hello everyone, I’m new to Monday.com and have developed an app that interacts with a third-party API whenever the status changes on a Monday.com board. The app is ready for production, but I’m unsure how to handle the Access Token. I plan to add more features soon and would like to begin the review process for the Monday marketplace. For users to use my app, an access token must be provided. However, the third-party API I’m using doesn’t support OAuth2; instead, users must generate a secret key from the API and provide it to my app. What’s the best practice for handling this? Thanks a lot for your help in advance! Oded
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.