Welcome to the new monday developer community
Discussions category for everything related to app development on top of monday.com
Recently active
We aren’t seeing any data come through for account_max_users or account_tier in the webhook for installs or free trials This information would really help us score these leads and understand revenue potential Thanks
hi guys, I am using the new Items page by column values API. I see that email is not one of the supported types. Just wondering how I should lookup an item based on an email address? thanks, Kevin
Having some trouble trouble shooting my error. I’ve read through a few other solutions to what I believe the problem I am having, but have yet to find a solution. Is column_type not a String? I am creating columns with the following code: Note, I am using python=3.10 def create_columns(board_id, title, column_type, default_values=None): if default_values: vals_dict = {} for cnt, vals in enumerate(default_values): vals_dict[cnt + 1] = vals status_values = {"labels": vals_dict} else: status_values = '' query = """ mutation ($boardId: ID!, $titleName: String!, $columnType: String!, $defaultValues: JSON) { create_column( board_id: $boardId title: $titleName column_type: $columnType defaults: $defaultValues ) { id } } """ variables = { 'boardId': board_id, 'titleName': title, 'columnType': column_type, 'defualtValue
Hey ya’ll, I don’t really know who’s library this is but it has been immensly helpful for my projects/clients and I would love it if we could get more community involvement in developing the library pip install mondayGitHub It’s actually saved me hours from what I was doing before so give it a try!
I need to first extract all the data using Python from a specific board and parse it so that each item from the board is on a different line. Here is my code-> import requests import json apiKey = “my api key” apiUrl = “https://api.monday.com/v2” headers = {“Authorization” : apiKey} query2 = ‘{boards (ids: 2257165976) { name id description items { name column_values{title id type text } } } }’ data = {‘query’ : query2} r = requests.post(url=apiUrl, json=data, headers=headers) # make request print(r.json()) Now, I do get all the items in the output but I’m not sure how to put each of them in different lines. Could someone please modify my code so that I get the desired output please?
Hello, I’m contacting you because I would like some clarification on an API-related matter. I wanted to know if it’s currently possible with the “Items_page” function to filter two or more names from a dropdown menu. If so, how? I tested it with this format: “[{column_id: “scrolling_Menu”, compare_value: [“word1”, “word2”], operator: contains_text}]”, but only the information for “word1” is displayed, and “word2” is ignored. I know it works with individuals or text because it worked during testing and in the documentation. Sincerely, Delépine Tom
Hi, why this query works nice in the API but not in the Javascript-react view App.js? … … … … monday.api(‘query{boards(ids:1234567890){name id groups(ids:“topics”){title id items_page{cursor items {id name column_values {id text value }}}}}}’, ) .then(res => { this.setState({boardItems: res.data}); … … … … The result is: There was an error in response from monday.com graphql API: [{“message”:“Field ‘items_page’ doesn’t exist on type ‘Group’”,“locations”:[{“line”:1,“column”:68}],“path”:[“query”,“boards”,“groups”,“items_page”],“extensions”:{“code”:“undefinedField”,“typeName”:“Group”,“fieldName”:“items_page”}}] The version is: “data”: { “version”: { “kind”: “stable”, “value”: “2023-10” } }, Thanks
This is my main board: This is my SubItems board in the API response. When I query my subitems board, it returns two items. One with a parent and one without a parent. Is this expected behavior? One of them has the name “123” as shown in the UI, the other has a name of “Subitem”.
Hello, since a few month we noticed a different behaviour on our custom apps, loaded from an url in item view. All custom apps are loaded twice, every time. Before it was just once, as expected. To reproduce the issue, I’ve created a blank app and just added an url from webhook.site to observe the requests. As you can see, the app sends 2 identical requests. Sometimes one of the requests does not have the “sec-fetch-user” header, sometimes one of them does. As a result it creates often confusions for the users as the app reloads after it has already been rendered. Is that a known issue / is there a way to prevent the reload? Thank you very much. Regards, Sergei
Hi there Just would like to know if it is in any way possible to use the name of a column as an argument in the items_page_by_column_values API instead of the column_id, which in this case is the generic “text”, “status”, etc. I don’t see anywhere in the documentation that it can’t be done and it would be super helpful if it can be. In the example above, I’d like to filter where Date Estimated is 4 October. Querying 4 October gives all 3 items with date 4 October. If it isn’t possible to use the name of the column instead of column_id, how could I filter to get the Date Estimated = 4 October specifically? This is just an example of an implementation I’m trying to code; the actual problem is similar just more complex. I’m helping out a customer and they complained about the readability of the code when using the API. For what they’re trying to do, and the structure of their boards, “coulmn_id = monday column type” wouldn’t help readability at all. So, is it possible? Thanks!
I have the same problem, I’m trying to change to the new settings, but that’s not what I can do, can anyone help? const mondayClient = initMondayClient(); mondayClient.setToken(token); console.log ('Item ID:', itemId); // Query 1 to get optvalue const query1 = `query($itemId: ID, $typeColumnId:String, $statusId: String) { items(ids: [$ID]) { column_values(ids: [$typeColumnId, $statusId]) { value } } } `; //const query1 = `query($itemId: [Int], $typeColumnId: String, $statusId: String) { items(ids: $itemId) { column_values(ids: [$typeColumnId, $statusId]) { text } } }`; const variables1 = { typeColumnId, boardId, itemId, statusId, textValue }; console.log ('variables1',variables1); with this error variables1 { 2023-10-24T15:01:43.795051643Z typeColumnId: 'opportunity_id', 2023-10-24T15:01:43.795055843Z boardId: 5341381563, 2023-10-24T15:01:43.795059243Z itemId: 5383449058, 2023-10-24T15:01:43.7950624
Hello, I am trying to create a webhook in monday that will commnicate with api gateway and lambda from aws but I am having troubles returning the challenge.
Hello, I am integrating my monday app to an api gateway on aws. But all external requests will need security applied to access the api gateway and therefore send the dedicated api key in the headers. How can do to set the actual api key from the aws api gateway on the requests send by my monday webhook ?
Hi, I’m sure I am missing something obvious but I have this code which works fine in the API playground { boards(ids: 12345678) { items_page( limit: 500 query_params: {rules: [{column_id: “people8”, compare_value: [“Alex”], operator: contains_text}]} ) { cursor items { id name column_values { column { title } text } } } } } but replicated in Postman { “query”: “query { boards (ids: 12345678) { items_page (limit:500, query_params: {rules: [{column_id: “people8”, compare_value: [“Alex”], operator: contains_text}]}) { cursor items { id name column_values { column{title} text}}}}” } I get a 500 Internal Server error, Can anybody help Thanks
Hi Monday support and Monday Dev community, I wanted to know if there is a way we can roll-back a Major release. Our team had a major backend api services overhaul and those api services will only work when the users upgrade their current item-view to new item-view. Since, our team Published a Major version (Item-view), all the api services will work properly only when the customers update their Item-view. This is because the code-base of our Backend is up-to date but the item-view that is of old version will still call the older API services causing the application to fail. Do let me know. Thank you. Regards, Rasil.
I like to use dynamic mapping https://developer.monday.com/apps/docs/dynamic-mapping a lot but it is frustrating that it does not support file mappings. I will like to understand why file (pdf, images etc) mapping is not a feature in dynamic mapping. I will also like to hear from developers if there are any known workarounds to map files from an external system to monday.com.
I want to delete multiple items in one API call, something like the following: mutation{ delete_item(item_id: 5406008582) { id } delete_item(item_id: 5406008601) { id } }
Hello Everyone, I am creating a custom form and when i was running ‘npm start run’ but it was just showing “WARN: retrying connection to the server” continuously, so i searched for this issue then i got to know that we can run the app feature using ngrok so i also installed and configured ngrok but now when i run ngrok http 3000 and after opening the local server its only showing this -
Need to Duplicate my workspace for each of my clients. I have to many boards for the “save as template” feature (due to lack of monday.com functionality for the sales CRM) So i created an app. Very easy process, saves all my boards, amazing, adds all of them on any workspace. However, it chooses to ignore the folders. So every time i apply this workspace app api I would have to sort out a total of 20+ boards in folders??? With the amount we are growing, this operational drag would be lengthy enough for us to use a competitor that does not need its users to create apps to duplicate a Workspace. This sounds very passive aggressive, becasue it is, the support making me go around in circles and the lack of functionality for a so called Sales CRM. I still have hope that Monday.com could turn this around for me. but pretty cringe that it had to turn into this. Please help. PS : from what i read in this community, it is not possible, If that is still the case. Please answer with any so
Hey, currently Promoting a Workspace app. Its been loading for about 10 minutes with status “Promoting” with a loading circle right next to the version name. Is this normal? Do I wait longer? or did something glitch out.
Hello Monday.com members, I have this question regarding my API query. I have the main board, and a sub-board. Main board has some columns, including one Status column. Each one of the boards has a field of type ‘location’. I need to query all items of the main board, extract location information (including lat, lng, address, etc), and populate the location of my sub-board if the status column has a specific value. query Query_all($boardId: Int) { boards (ids: [$boardId]) { id name items { id name column_values { id text } } } } Then inside my javascript I reference: for (const item of items) { let loc = item.column_values.find((item) => item.id === "location")['text'] ... } And the loc is set to a visible text portion of the address. In the monday.com documentation for location, I can see a description for how to get a location by querying a specific
Is anyone else able to get it working with Curl? Or PostMan? I have been trying to upload files to a Item Update for several days now. No matter how I try it I keep getting a 500 error back from Monday. I also get a similar error in PostMan. Here is the Curl command curl --location --request POST ‘https://api.monday.com/v2/file’ –header ‘Authorization: API_KEY’ –form ‘query=“mutation add_file($file: File!, $update_id: Int!) {add_file_to_update(update_id: $update_id, file: $file) {id}}”’ –form ‘variables=“{"update_id":1234567890}”’ –form ‘map=“{"image":"variables.file"}”’ –form ‘image=@“/Path/To/polarBear.jpg”’ The file path is a full path to a file. The update_id is one that really exists The API Key is one that works on other API requests, and is attached to an Admin. No matter what I do I get a 500 error. {“error_message”:“Internal server error”,“status_code”:500}
Hello Community, I’m new to both GraphQL as well as the Monday.com API suite, so looking to get some understanding with respect to pulling all columns. For additional context I am querying with Python and the requests library, I am also passing headers for the API-Version of 2023-10. For Columns my query is: columns_query = ‘’‘{ boards (ids: #######) { columns{ id title type } } }’‘’ To which only 5 (seemingly random) columns are being returned, but the board that I am querying has 13; is there pagination with respect to pulling columns? or is my query incorrect?
Is the header variable for API_Version. supported in the python environment? I was trying to set up an item query that works in the previous enviornment. tried setting apiUrl = “https://api.monday.com/v2” headers = { “Authorization” : apiKey, ‘API-Version’ : ‘2023-10’ } The query then fails with errors: [{‘message’: ‘Type mismatch on variable $myBoardID and argument ids ([Int]! / [ID!])’, … I found an older reference to this error “API Error - Dimension mismatch” but that doesnt help. Want to first confirm that the header approach will work in Python? The documentation seems to focus on javascript.
Hi guys I am trying to read the people column, and I am encountering an error. Please see the code below. Query const personsObjects = await monday.api(`query { items (ids:738909449) { column_values(ids: "people") { ... on PeopleValue { persons_and_teams{ id } } } } }`) Response message":"No such type PeopleValue, so it can’t be a fragment condition
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.