Troubleshooting steps - First, check that the request body is valid JSON, and matches the example request body for the desired operation in our API documentation. You will receive a detailed error message and code pointing to the exact issue.Ĥ22 error: invalid_request_body (unable to parse request body)Įrror meaning - Something is wrong with the request body. This includes most of the base-specific validations. You shouldn't encounter this under normal use.Ĥ22 Invalid Request - The request data is invalid. Troubleshooting steps - If you receive HTTP 406 errors from or and believe these are in error, please submit the following form.Ĥ13 Request Entity Too Large - The request exceeded the maximum allowed payload size. has been deleted).Įrror meaning - The request was blocked for security reasons. This error is returned when the request hits an undefined route, or if the resource doesn't exist (e.g. It will also fail if the foreign table has a formula field as the primary field since it's not possible to write directly to a formula field.Ĥ04 Not Found - Route or resource is not found. That request to create the foreign record will fail if the foreign table is a synced table since it's not possible to create records in a synced table. If we are unable to find a matching record in the linked (foreign) table, then we will attempt to create a record in that foreign table and set the primary field to the value given in the API request. This error can also occur when creating or updating a record and writing a new value to a linked record field. Try performing the same operation as the API request, but within the Airtable UI - this should help to identify the specific field(s) that you are unable to edit by process of elimination. There are likely conflicting field and table editing permissions. Troubleshooting steps - Check the fields and table being referenced in your API request. Troubleshooting steps - Reach out to a base/workspace owner or creator to have your permission level increased.Ĥ03 error: invalid_permissions (field or table operation limits)Įrror meaning - There are table or field-level permissions that are prohibiting the operation this means that the field or table has been configured to limit who can perform this operation. See below for examples and suggested debugging steps.Įrror meaning - The API key or access token was passed correctly in the request, but you do not have permission to perform the action in the API request. Troubleshooting steps - Check that the API key or access token you are using is the same as the key you see on your account page.Ĥ03 Forbidden - Accessing a protected resource with API credentials that don't have access to that resource. If using the Authorization header method, make sure to use Bearer authentication (rather than basic).Ĥ01 error: unauthorized, invalid authentication tokenĮrror meaning - The API key or access token that was provided is invalid. There are two options for including your API key or access token in a request: the Authorization header (recommended) or the api_key query parameter. Troubleshooting steps - Find your API key or access token and add it to your request. If you are getting one of these, check your code and the request details.Ĥ00 Bad Request - The request encoding is invalid the request can't be parsed as a valid JSON.Ĥ01 Unauthorized - Accessing a protected resource without authorization or with invalid credentials.Įrror meaning - The API key or access token was not present in the request, or it was passed incorrectly. These errors generally indicate a problem on the client side. Success codeĢ00 OK - Request completed successfully. Those will provide specific error condition and human-readable message to identify what caused the error. The error messages will return a JSON-encoded body that contains error and message fields. If you end up needing to send in a support ticket, please follow the guidelines listed in the last section in order to have the most efficient customer service experience.Ģxx codes signify success, 4xx mostly represent user error, 5xx generally correspond to a server error. For an exhaustive listing of errors please refer to our API documentation. This article is meant to explain and troubleshoot the most common errors or issues that folks run into. At times, you may encounter errors while making API calls.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |