Skip to content

fix: Up-to-date Attio OpenAPI.json -> web_url is missing#11

Open
flomarin88 wants to merge 1 commit intod-stoll:mainfrom
flomarin88:fix/update_openapi
Open

fix: Up-to-date Attio OpenAPI.json -> web_url is missing#11
flomarin88 wants to merge 1 commit intod-stoll:mainfrom
flomarin88:fix/update_openapi

Conversation

@flomarin88
Copy link

@flomarin88 flomarin88 commented Jan 1, 2026

It looks like openapi.json is outdated, with a missing web_url field in the response.
It generates this kind of errors when querying records.

rawMessage: 'Response validation failed'
--
return ERR(new SDKValidationError(errorMessage, err, rawValue));
               ^
SDKValidationError: Response validation failed: TypeError: Cannot read properties of undefined (reading '_zod')

Here is the query I made:

await attioClient.records.query({
    object: 'people',
    requestBody: {
      sorts: [
        {
          direction: 'desc',
          attribute: 'updated_at',
        },
      ],
      limit: 10,
    },
  })

@flomarin88 flomarin88 changed the title fix: Up-to-date Attio OpenAPI.json -> web_url fix: Up-to-date Attio OpenAPI.json -> web_url is missing Jan 1, 2026
@flomarin88 flomarin88 marked this pull request as ready for review January 1, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant