---
title: Returns a list of assets
full: true
_openapi:
method: GET
route: /asset_change/list
toc: []
structuredData:
headings: []
contents: []
---
<APIPage document={"https://api.light.so/api-docs/openapi.json"} operations={[{"path":"/asset_change/list","method":"get"}]} hasHead={false} />
Which has a circular dependency in the OpenAPI (AssetChange schema includes Token)
leads to an error as below:
Error occurred prerendering page "/asset_change/v1_asset_change_list_handler". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
| property 'properties' -> object with constructor 'Object'
| property 'group' -> object with constructor 'Object'
| ...
| property 'tokens' -> object with constructor 'Object'
--- property 'items' closes the circle
at JSON.stringify (<anonymous>)
Current vs. Expected behavior
Should not error
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000
Available memory (MB): 16384
Available CPU cores: 10
Which area(s) are affected? (Select all that apply)
To Reproduce
Put this as one of OpenAPI's generated mdx files
Which has a circular dependency in the OpenAPI (
AssetChange
schema includesToken
)leads to an error as below:
Current vs. Expected behavior
Should not error
Provide environment information
Which area(s) are affected? (Select all that apply)
Integrations (e.g OpenAPI, Typescript DocsGen)
Additional context
No response