Hi guys! How are yall doing? Let me explain my que...
# help-connector-development
m
Hi guys! How are yall doing? Let me explain my question: I’m using the UI CDK builder to build a very simple connector, is an API with just one stream but it’s paginated. As you can see in the screen shot I just uploaded below, the nex_page_url is returned in the API response and I just need to keep fetching the data until there’s no more next_page_url value. Can someone help me with this? It may sound very silly doubt but I’m really struggling with that!
s
@Matheus Barbosa I suspect you want to use the cursor paginatino strategy with a cursor value of
response.next_page_url
injected into the request path or request parameters
m
I tried adding this but the other streams just return an empty array [] like this. Even though I tested the next_page_url in the response and it’s working fine
“Invalid connector manifest with error: Validation against json schema defined in declarative_component_schema.yaml schema failed” I get this error when I try the code you provided
In the example link you sent me the inject into parameter is set to request_parameter but in my case as you can see, the API actually returns the actual URL of the next page, instead of a token for example
@Sherif Nada do you have any clue about this?
I’m really struggling with that