Welcome to the new monday developer community
-
Recently active
Hello! This is my first post here as I just started working on a Monday.com app. My app is a board view. I was able to set up everything, and it works fine on the frontend. I have encountered a problem on the backend of my app. I’m able to successfully verify user sessionToken(obtained in the browser via await monday.get("sessionToken"), sent to backend, verified on the backend with jwt.verify(sessionToken, '...')). Now I would like to make use of monday.api on the backend, and no matter if I’m using monday.setToken or passing token in options to monday.api - I’m getting “Not Authenticated” error. I assume I did not understand something, any help/suggestions are appreciated. Thanks!!
Hello, I’ve been sending queries from a VBA macro in Excel, as I need to ensure my board is in sync with an excel file I get each week. I can’t figure out how to create a query with change_multiple_column_values. This is what I’m sending to the API and just get a 400 error. {“query”:“mutation { change_multiple_column_values ( board_id: XXXXXXXX, item_id: XXXXXXXX, column_values: “{"oppty_owner_name": "TEST NEW"}” ) { id }}}” Few questions: Do I have to have the “query”: or, can I just start with mutation? Can anybody tell me what’s wrong with the query? Thanks, Chris
I’ve been working on uploading a file to an item, and I’ve been receiving some cryptic errors from the API. Here’s my code snippet: return monday.api(` mutation addFileToColumn($file: File!) { add_file_to_column( item_id: ${itemId}, column_id: "${columnId}", file: $file ) { id url name } } `, { variables: { file }, }) where itemId is for sure an existing item (I do this immediately after creation), columnId is files, and file is a javascript File instance. I’ve seen [Released] File upload via Monday's SDK client side - #3 by pepperaddict, which seems like it might be a workaround. But I wanted to report this to see whether there’s something obvious I’m missing and doing wrong. Note I haven’t tried this in a non-dev environment, so maybe the 500 represents some of the CORS errors being seen in the above topic? Thanks, Jake
Hi there, So I have this strange problem: if I deploy my app from an URL and publish it, everything works correctly. If I upload a ZIP file via the form and serve that version from the monday.com cdn, it doesn’t render properly. As far as I can tell the files are being loaded correctly, but the app is not rendering. Serving the application from other providers, like Netlify works without problems. I have a suspicion it has something to do with React Router, which I use and which creates routes like /route1, /route2 etc, which need to be rewritten to index.html. I’m not sure if the default behaviour should be rewriting all and any URLs to index.html, but my feeling tells me yes, since it’s expected that applications should be SPAs.
Hey, I’m quite new to Monday.com’s API and I’m trying to insert a new item via C#. I’m using the code below, but when I execute it, I’m getting a 404 error. I went through the query part-by-part, and when I modify it to remove the {id} part, the code seems to execute without error, but doesn’t insert any records. I’m guessing the problem is the formatting of the query, but I just can’t seem to identify it. Does anyone have any suggestions? var query = @“{”“query”“: ““mutation {create_item(board_id: ########, group_id: "“test"”, item_name: "“John Doe"”) { id} }”” }”; var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://api.monday.com/v2/"); httpWebRequest.ContentType = "application/json; charset=UTF-8"; httpWebRequest.Method = "POST"; httpWebRequest.Headers.Add("Authorization", _apiKey); using (var streamWriter = new StreamWriter(httpWebRequest.GetRequestStream())) { streamWriter.Write(query); } var httpResponse = (HttpWebResponse)htt
Hi, I ran npm run build to build my project, then compressed it and uploaded build.zip to Monday.com. However, now, when I go to board view and select my app, I can’t see anything. There are no error logs either. What should I do? Kinda urgent since I want to create a demo video using my app for the hackathon. Any advice much appreciated! Thanks.
I am trying to use the storage api to persist data across user sessions. I am using it as described in the documentation: monday.storage.instance.setItem(‘USER_123456_ROLE’, ‘BASIC_ROLE’); which returns a success message. However when I then use monday.storage.instance.getItem(‘USER_123456_ROLE’); it always returns value: null. How do I get this working? Thanks, Jake
My app is a workspace template with the main view as a dasboard written as a custom app. The dashboard works in the original workspace, but when I try to install the template into another account it’s broken. I don’t think it’s an issue with my app, because it switches from the monday “loading” icon to the blank screen which would indicate my app is launching (or my app’s loading icon).
Hi, How should I update columns values in Python. I tried different ways and got Error 500. This is one of formats I tried (where description is of Long Text type column): query_update = ‘mutation { change_column_value (board_id:, item_id:, column_id:“description”, value:“test update”) { id } }’ Thanks, Sima
Hi all, I’ve been wondering if someone might have an explanation for this: I’m using a simple python module to retrieve board data from Monday. The request I’m sending to https://api.monday.com/v2 is: query { boards (ids: SOME-BOARD-ID) { id name permissions tags { id name } groups { id title } columns { id title type settings_str } } } I’m getting all columns except for the one who’s type is board-relation. Weird thing is that if I paste this query to the API playground I do get this column. Any idea what causes this? Thank you in advance.
Header structure works correctly, used it for a String query = ‘{ “query” : “{boards(ids:887415581){items(limit:20){id name}} }”}’; This call works in both Postman and SFDC apex. But when I make the call for mutation with the following string I apply JSON serialize : String colValue = ‘{"numbers_16":" 42","numbers":"5"}’; ** String str = JSON.serialize(colValue);** Now I added to the query for the call: String query = ‘{“query”:"mutation{change_multiple_column_values (board_id: 887415581, item_id: 887415649, column_values:’ + str +’ ){id}}"}'; String don = JSON.serialize(query); system.debug(LoggingLevel.FINEST , don);
Hello, I am trying to perform the following action and getting an error or status code 403 “user unauthorized to perform action”. Action: mutation { create_item (board_id: 344121329, group_id: new_group63732, item_name: "some name", column_values : "{\\"person\\" : {\\"personsAndTeams\\" : [{\\"id\\" : 11471200, \\"kind\\" : \\"person\\"}]}, \\"contact_method\\" : {\\"ids\\" : [1]}, \\"phone\\" : {\\"phone\\" : \\"\\", \\"countryShortName\\" : \\"US\\"}, \\"email\\" : {\\"email\\" : \\"[test@test.com](mailto:test@test.com)\\", \\"text\\" : \\"[test@test.com](mailto:test@test.com)\\"}, \\"text01\\" : \\"test\\", \\"status\\" : {\\"index\\" : 1}}" ) {id}} Response: { “error_code”: “UserUnauthroizedException”, “status_code”: 403, “error_message”: “User unauthorized to perform action”, “error_data”: {} } I have verified token and queries working with no issues. Any help is greatly appreciated.
Hi, While trying to use the GraphQL in Node.js for add_file_to_column in the mutation mode, I’m getting an error of Unsupported query, no matter what. The code is exactly the same as the request in the Postman, which works properly. Please try to advise: const formData = new FormData(); formData.append( 'variables[file]', fs.createReadStream( 'Path to file' ) ); formData.append( 'query', 'mutation ($file: File!) {add_file_to_column (file: $file, item_id: XXXX, column_id: "files") {id}}'); fetch('https://api.monday.com/v2/file', { method: 'post', headers: { 'Content-Type': 'multipart/form-data', Authorization: MONDAY_API_KEY, }, body: formData, }) .then((res) => res.json()) .then((res) => { console.log(JSON.stringify(res, null, 2)); }) .catch((err) => { console.log(err); });
Hi community, How i can change the value of a board-relation type column? Is there any way? Thanks in advance.
Hi, I am trying to fetch the column title and their id’s of a particular board by passing its id(boardId) but I am getting the result of all the boards that are there in my workspace. Can anybody help me out if i want to have the result for that particular board only? Note : When I try the same query on API Playground,I get a perfect result.
Hi guys! I’m working at Omnitas Consulting, a proud partner for monday.com from a few years back 🥰 I just want to give you a heads-up for our upcoming webinar about Funnels App for monday.com. Funnels App in an analysis tool that can effectivize your sales and marketing funnels, and increase your conversions. In these webinars, our CEO @Thomas-Omnitas and CSO @FredrikEricson will walk you through the features of Funnels and how to best work with the tool for optimizing your sales and marketing strategies. We’re hosting one on March 24th from 18.00-19.00, and one on March 25 from 11.00-12.00 (Central European Standard Time). Links for registration: March 24th: Webinar unavailable March 25th: https://webinar.getresponse.com/yco0e/funnels-app---increased-conversion-with-sales-funnels-in-mondaycom Hope to see you there! 🌟
Hey everyone, When we try to mutate the values of one item , the result is an error!. Funny enough we made similar mutation before an after, and those were a success The mutation we use is: mutation { change_column_value (board_id: 79023, item_id: 106, column_id: “status1”, value: “{"tag_ids":[8671878]}”) { id } } GraphQL query failed with 1 errors {‘errors’: [{‘message’: ‘Query has complexity of 30001, which exceeds max complexity of 27690’}], ‘account_id’: 4548618} This kind of error has been present now for at least 3 weeks, sometimes is a success sometimes is not. Thanks for your help
I’m building a new Integration App that has a Recipe that notifies a user in another platform whenever an Item’s Status changes. Similar to the Slack integration recipe, I would like to allow the user to input a custom message with the option to auto-populate Item properties. For example, I managed to get this input option using the ‘Message’ field type. However, once a trigger occurs and the custom action for the recipe is executed, the message content payload contains the placeholder property specified by the user instead of the actual values. For example, Any guidance that can point me in the right direction is greatly appreciated!
Hello! im building my first monday app and im having some issues. my app has a board view and an integration with a webhook to my backend. im registering to events on the board such as column changes, and im manually sending query and mutation request from my backend to the board, using my admin api token. when im working on my own account everything seems to work fine, but when im installing the app on a different account i dosent work. im getting an event from the webhook with the board and item ids that i want to mutate, but my requests dont do anything. so my question is first of all if has something to do with authentication, and if it does, how can i authenticate my requests using webhooks?
Hello! I have mentioned this personally to @Ben, @VladMonday, and @dipro Putting this here so I can follow the development. This defect is causing a lot of disappointment and curious if this is on your radar. workspace templates with custom monday apps doesn’t work. i have verified this many times, pasting the steps to reproduce from a slack conversation in October create a dashboard and add a monday app you created create a workspace template that includes this dashboard expected: using this workspace template will show the dashboard with the monday app actual: using this workspace template will show the dashboard with a loading indicator don’t hold your breath, the monday app will never load! is this in your backlog? do you have an ETC for a fix? Thanks!
The Quickstart guide uses React 16.13.0. Is it necessary to use this version of React to create an app? Since the app is rendered in an iframe and your are interacted with Monday through the API would it be possible to use a more modern version of React with Hooks support to build an app?
I am trying integrate our app with Monday.com by using custom trigger and CREATE AN ITEM WITH MAPPING. Can I know how will I be able to create an integration column along with this flow of creating an item? Also, will I be able to update an item using the recipes only, without making use of API?
Hello, I’m struggeling with the API. I’m using Python (Django Framework) for my contact form. In this form is a multiple choice checkbox which I want to match to the drop-down field in monday.com. Now I have to iterate through the list in the dictionary “data_dict”. Does anyone have an idea how to do this? This is my vars dictionary from the API: vars = { 'myItemName': data_dict['nachname'] + ", " + data_dict['vorname'], 'columnVals': json.dumps({ 'status': {'label': 'Neu'}, 'e_mail': {'email': data_dict['email'], 'text': data_dict['email']}, 'telefon': {'phone': str(data_dict['telefon']), 'countryShortName': 'CH'}, 'text9': data_dict['plz'], 'drop_down': {'labels': [data_dict['person']]}, 'drop_down5': {'labels': [data_dict['beruf']]}, 'drop_down59': {'labels': [data_dict['prio'][0]]}, 'drop_down7': {'labels': [data_dict['alter']]}, }) } As it is now just the first item would be passed in to the ‘drop_down59’
Hi Im attempting a basic command to test and get used to the API using https://reqbin.com/curl, I am posting the following curl and getting a 400 (Bad Request) error the issue appears to be with the enclosed strings “Postcode”, “N221RW” and appears to be with the double quotes I have tried escaping with " and various other symbols but unable to get it to work, can someone assist me? Thanks curl -X POST -H “Content-Type:application/json” -H “Authorization:xxxxxxxxxxx” -d ‘{“query”:“{items_by_column_values (board_id: 114768112, column_id: “Postcode”, column_value: “N221RW”) {id}}”}’ “https://api.monday.com/v2/”
I have hit an error trying to build and run the docs-viewer example app (which I’m hoping to use as the basis for my own…) It seemingly built OK. I wasn’t sure if I could just change the text from quick-start-react to docs-viewer in the npx command from the guide, but tried it and it seemed to work, albeit with some warnings and unexpected prompts I had to respond to - C:\\Users\\cex\\monday\\notable>npx @mondaydotcomorg/monday-cli scaffold run ./ docs-viewer Need to install the following packages: @mondaydotcomorg/monday-cli Ok to proceed? (y) y npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated @types/source-map@0.5.7: This is a stub types definition for source-map (GitHub - mozilla/source-map: Consume and generate source maps.). source-map provides its own type definitions, so you don’t need @types/source-map installed! npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/314
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.