Welcome to the new monday developer community
-
Recently active
When I receive a webhook http callback, these parameters in the header host = ****** user-agent = node-fetch/1.0 content-length = 363 accept = */* accept-encoding = gzip,deflate content-type = application/json newrelic = eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiMjUzODI0IiwiYXAiOiIxOTgyOTY3NDMiLCJ0eCI6IjZhMjJjMGM4YzFiYjdjNDgiLCJ0ciI6IjdmY2YyMzBlN2I1YTliNTQxYTk4MTI1NzBjODMyNzg1IiwicHIiOjAuODM5MDc5LCJzYSI6ZmFsc2UsInRpIjoxNjU5NTk3MzE4NzU0LCJ0ayI6IjE3Mjg3NTUifX0= traceparent = 00-7fcf230e7b5a9b541a9812570c832785-d3a43e2274bdb079-00 tracestate = 1728755@nr=0-0-253824-198296743-d3a43e2274bdb079-6a22c0c8c1bb7c48-0-0.839079-1659597318754 x-forwarded-for = **** x-forwarded-proto = https What does newrelic mean? I decode that { "v": [ 0, 1 ], "d": { "ty": "App", "ac": "253824", "ap": "198296743", "tx": "8f6059ef0b16099d", "tr": "ddbc2cd76d3d025dfebe3ab1de594808", "pr": 0.519519, "sa": false, "ti": 1659599249631, "tk": "1728755" } } Can any
Hello! I wanted to share my work which spent some time and patience. I tried a lot of format that returns multiple errors. I also got an idea from someone here in the community but I forgot the name. Well, thanks to you. Hope this helps! Happy coding! This results to: {“query” : “mutation { create_item (board_id: 3063556967, item_name: "Daily xxx" , column_values: "{\\"date\\" : {\\"date\\" : \\"2022-08-15\\"}}"){ id} }”} Remember the escaping.
Hello, I’ve been trying to use the quickstart guide however whenever I input the npx comand I keep getting this.
I am currently importing data into two boards to simulate a parent/child relationship. The two boards share a value companyName that will link them. I final part of the code I am pasting now works. However, I want to replace one of the hardcoded IDs with a variable. I’ve tried a number of ways without any success. Query 1, not shown retrieves a JSON with the item ID, item name (company) from the parent board Query 2, not shown retrieves a JSON with item ID, item name, company name from the child board The loop below takes a single item from Q2, calls a function to find the matching company from Q1, then calls API to connect_boards. for allItems2 in itemLevelData2: singleItem2 = allItems2[‘items’] # Loop for individual item detail for itemDetail2 in singleItem2: #Retrieve the entry ID itemID2 = int(itemDetail2[‘id’]) columnValues = itemDetail2[‘column_values’] #print(columnValues) for company in columnValues: companyName2 = company[‘text’] if (search_company(companyName2) != None
Hi, I have a scheduled script that pulls items from our workspace with a query formed like below: query { boards (ids: boardId) { name id items ( limit: 25 page: 1) { id name column_values { title value text id } updates { body text_body id created_at creator { name id } replies { id creator { name id } created_at text_body body updated_at } } } } } Until recently it was working fine. Now it returns this: { "message": "Unexpected token 'u', \\"upstream r\\"... is not valid JSON", "stack": "SyntaxError: Unexpected token 'u', \\"upstream r\\"... is not valid JSON" } If I reduce the number of items per page to 5, it seems to work fine, but this is an unacceptable solution as it takes far too many queries to pull all of the data. It’s already really slow at 25 per request. Anyone know what is happening here?
I’ve got a board with multiple groups and in each group there is a time_tracking column where my team logs their time. On the board there’s a sum of the time for that group that I can see on the page, but I can’t seem to find a way to get that time total out of the API. So for example Task 1: 5h 30m Task 2: 1h 15m Task 3: 3h The query would return 9h45m (or something that represents that amount of time like the total number of seconds, something like that). Is that sum total field accessible via API?
Is there a GraphQL query that returns this link?
I can create duplicate records for below artifacts: Able to create duplicate workspaces Able to create duplicate boards within same workspace Able to create duplicate groups within same board Able to create duplicate items within same group Able to create duplicate subitems for same item Able to create duplicate team Please find below snapshot for point no 2,4 & 5 Please find below snapshot for point 3: Please find below snapshot for point 1: Please find below snapshot for point 6:
I’m seeing new fields in the install webhook: { "type": "install", "data": { ... "user_cluster": "information_technology", "account_tier": null, "account_max_users": null, ... } } Some questions: What are valid values for user_cluster and what is it for? So far I’ve seen : crm education information_technology ngo operations other product_management tech Are you aware that account_tier and account_max_users are not populated? Do these new fields have exact equivalents in the {{account}} in the graphQL API?
Hi there, not sure where this post belongs so apologies if it is. I have been tasked with creating a Monday app. The idea is that in a new column called ‘Project Name’ on the board. If the user inputs the project name in this field, it grabs the total hours worked on the project in Harvest, using the Project Name as the ID.
I have setup the simple boilerplate in which we make change to one column and it change the other column to UpperCase or LowerCase. When I make the change in one column it triggers and call the method on server side error was printed on the console. Error: Should send ‘token’ as an option or call mondaySdk.setToken(TOKEN) I had executed it earlier it was working but now it return this error in console. When I debug the request it says shortLivedToken is undefined in the request. Further debugging I got to know that req.headers.authorization returns token without shortLivedToken moreover req.query is empty object Object after decoding that token { “accountId”: 12xx3776, “userId”: 32xxx852, “aud”: “http://icy-sides-shake-205-164-153-82.loca.lt/monday/execute_action”, “exp”: 1659191960, “iat”: 1659191660 }
Hi, Could someone please help me understand how Monday.com creates Board (Main Board) for Items or Board (SubItems Board) for sub-items. I tried few things sharing my observation below: When I create Board of Items or Budget, using Add on UI, Board gets created with respective columns: a. Item board - with columns - Item, Person, Status and Date b. Budget board - with columns - Budget, Person, Status and Date When I try to create sub-item to any item form these board Monday.com that time it creates Board for Sub-Items with columns → Subitems, Owner, Status and Date. Need to understand how Monday.com creates these board. Does it use some pre-defined schema to know/decide which/what columns to add when creating Board (Main Board) for Items or Sub-Items Board for sub-items. If yes, Can we define/update that schema? if yes, how to do it?
I want to query all subitems available in my account, Since I can not directly query subitems so right now I am doing like this {"query":"{items(page:1) {id name subitems{id name subscribers{id name} }}}"} but the problem with this query is it will return all the items even if there is no subitems in that item, and due to pagination I need to fire this request for all the items, Is there any way that I can get only items which has subitems so that I can stop unnecessary API requests?
I am using the below graphQL req to retrieve assetes updates records { updates(page: 1, limit: 100) { assets { created_at file_extension file_size id name original_geometry public_url uploaded_by { id } url url_thumbnail } } } I have observed that this API throws an error for uploaded_by field, throwing a null empty array { "assets": [ null, null, null ] }, { "assets": [ null, null, null ] } and the error message: “message”: “Cannot return null for non-nullable field Asset.uploaded_by” is this the expected behaviour?
I think I found an API Bug. Wondering if anyone can confirm. Monday states that all boards must have at least 1 group. Yet, using the API, you can use the delete_group mutation to delete all groups from a board and ultimately have a blank board that displays “No results were found”. If I do this to clear all groups from a board, and then request the items on this blank board using the items query, I get hundreds of items returned (I have this set up with pagination to return all items from the board). I would expect, since the board has been cleared, that 0 items would be returned. The moment that there is a single empty group on the board, everything works correctly and my items query returns 0 items… and as I add items and groups, the number of items returns correctly as expected when queried. I have no idea where these hundreds of items are coming from when the blank board is queried. They could be from archived groups. They could be from deleted groups. They could be from an
I’m looking for help when creating a Board from a template via the API. Once the board is create the API returns the ID of the board but the board is not visible in the UI or API. When I look for the board by editing the URL and inserting the returned ID the UI says the board is deleted. And the board is not in the recycle bin. Checking the Activity Log on the account (via the API) shows no delete board events. Of note is that these boards are being created from a template at the same time as four others from another template which do not disappear after creation. Could this be a permissions issue? Perhaps, but both templates seem to have the same permissions. Included here is the GraphQL and the response mutation {create_board ( template_id: 2988420389, board_name: "O'Rourke - Detail", board_kind: share , workspace_id: 1749130 ) {id} } Response: {"data":{"create_b
This is similar to another thread I made in regards to hiding the “Main Table” view located here: Hide the Main Table View Solution via JS/CSS & Perhaps Future App? - #2 by mrjberlin But instead of hiding the Main Table, we can use the following to hide the Filter and/or “Hide” option(s) from users. I’m personally using this because I don’t need anyone from the team accessing the main table view, messing with any of the filters and/or adjusting any of the hidden columns. *Yes, there are board restrictions; however, users can still access these 3 tabs and adjust them, though not save them. On Chrome, specifically, I’ve had my team use the following extension:chrome.google.com I then added the following CSS .filter-buttons-wrapper .rule-based-filer-component, .filter-buttons-wrapper .columns-filter-component, .filter-buttons-wrapper .menu-button--wrapper { display: none; } }``` I manually set this up on each team member's computer so they don't have access to the main view (li
Hi all, I’m Thusitha Manathunga and I created 1View for monday Apps Challenge: Dream it, build it. 1View is a monday app that allows users to see and update everything at one single place. Anyone can easily add 1View to their dashboards and board views within just few seconds. How it works? Watch demo Getting Started Add 1View to your dashboard What it does? As the name suggests, 1View is a monday app that allows users to see and update everything at one single place. 1View is available as a monday dashboard widget and a board view. Every monday user and business can get the benefit of 1View regardless of the field they are working on. Anyone can easily add 1View to their dashboards and board views within just few seconds. Furthermore 1View is 100% secure since it stores all the information inside monday and does not transfer data in and out from monday. With 1View you can, See and update all tasks from one place When your projects get bigger and bigger we know that you need a singl
I am trying to run this particular guide: https://apps.developer.monday.com/docs/quickstart-view, I am getting a Ngrok tunnel link but on opening this link directly or importing it onto Monday.com, i get this particular error from Ngork: I have tried adding the authentication token from ngrok as instructed but doesn’t seem that is helping out. Please let me know what i can do to solve this, thanks!
Create an update takes parent_id as an input. In API doc it is mentioned that: parent_id: The parent update identifier. This can be used to create a reply to an update. Even if we provide invalid value to this API accepts it & creates an update.
Hi Folks, We are trying to execute API queries in our cron, it is working fine for short queries but it breaks when we try to execute it in sequence queue and throw complexity exhausted query error. We have tried to solve it but no luck. Please help us if you have any solution. Thank you in advance!
Not sure what can be done about it but as a developer I find extremely annoying when I get back a JSON response from your GraphQL API that includes a mix and match from both Lower Camel case strategy and Snake Case Strategy. Is there is any reason why you are not using a common property naming strategy? You can clearly see that attributes under the event path are with Lower Case while under the value attribute they are with Snake Case { "event": { "app": "monday", "boardId": 11111, "changedAt": 1656743557.4904916, "columnId": "dev_status5", "columnTitle": "Dev Status", "columnType": "color", "groupId": "topics", "isTopGroup": true, "originalTriggerUuid": null, "parentItemBoardId": "111", "parentItemId": "111", "previousValue": null, "pulseId": 111, "pulseName": "Item created", "subscriptionId": "1111", "triggerTime": "2022-07-02T06:32:37.786Z", "tr
Hey Monday-Team, I’m having trouble adding a file to a column one by one with cURL. I’m using the the following example and can successfully add a file to a column: // Connect the API and send the file. $curl = curl_init(); curl_setopt_array( $curl, array( CURLOPT_URL => 'https://api.monday.com/v2/file', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => array( 'query' => 'mutation ($file: File!, $item_id: Int!, $column_id: String!) { add_file_to_column ( item_id:$item_id, column_id: $column_id, file: $file) { id}}', 'variables' => '{"item_id":' . $item_id . ', "column_id": "' . $column_id . '"}', 'map' =&
Hi, I’ve been trying to get custom actions and triggers working but don’t understand how to set up the API. I’ve set up the base URL using ngrok and the built-in apps work. However, the following block for both trigger and action when set up with the paths specific return the following error: return the following error: I’ve referred to the following article but am not clear what to do where to resolve: https://apps.developer.monday.com/docs/custom-trigger
When we add subitem for any item it is observed that parent item has different columns and created subitem has different columns. Why the columns of subitem are different than parent item? Why subitem does not inherit similar columns as that of parent item? Also, if we retrieve subitem then the board id is different than parent item’s board id? Why is that so? Because parent item & its subitem are part of same board which is visible on UI.
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.