API : Error 500 while fetching all companies
When I use the API (code or web interface) I get this error:
500 Internal Server Error
No supported response body returned
I deactive the multi-select field we had for the company object but didn't change anything. Others objects are fetchable.
Our space name is Colec. We're on the cloud formula
14 Replies
Hi @ferdi9544, I checked your account and I can see the companies as expected. Did you fix the issue? Or do you have an example of query that does not work?
You can try setting
depth: 0
in your query, i hit the "too many attributes, max of 100 supported" from time to time, but I heard mention the v0.24.0 might address this. Not sure if this is what you're running into but something to try if you haven't alreadyI tried with the curl and with the interface you are offering
I get either no result or error
We are on the 0.24 on the app
Should be the same for the api right ?
And also with n8n I get this error message :
400 - "{\"statusCode\":400,\"messages\":[\"GraphQL errors on company: {'message':'Unknown field 'adressAddressStreet1' on type 'company''}\"],\"error\":\"Bad Request\"}"
@thomast
Also sorry for the confusion I meant the web interface of the api to fetch the data !I have this weird error on the UI also, seems to be the object which are not legit
Hi @ferdi9544, can you provide an example of a request that fail so I can reproduce on my side? Does the rest of the app load?
I update the city in the address field
And for the api I just get the endpoints companies with no additional information
@Weiko any news ?
Hi @ferdi9544, I could reproduce the bug on my side, I'm trying to push a fix this afternoon
Ok great, no rush, was just checking someone had this in mind π
Will it fix the api call too ?
It might. Looks like your data model is broken and I'm trying to understand why π (and the API is affected by it since it's auto-generated with your data model)
There is an "adress" field that was not properly created
Did you try to rename this field by any chance?
@ferdi9544 can you try again?
I tried :
- When updating the city through web interface : some error logs are still there but the change seem persistent
- The API call send a response ! π₯³
Great. What error logs? You mean in the console? Or a toast message?
Not sure but I remember it was at the very beginning of this field so maybe there were some modification since
In the console
No toast
Ah, I see what you mean. We have a ticket for that, thanks :). Shouldn't impact you directly I think
Indeed doesn't seem to ! Great thanks !