Hi, I am trying to setup Integration Fields, but my custom integration returns an error on sync. Unfortunately there is no data available on what type the error is.
My custom API returns the following json:
Hello @test.johnwalker, welcome to the Prismic forum!
I'll be happy to help you today. Could you please send me the following details so I can run a test on my end?
Hello @test.johnwalker hello @Pau
I have found errors with John's Integration fields :
{
"id":"Invalid type for id in item 0 in page 1. Found Type: number || Expected type: string",
"last_update":"Invalid type for last_update in item 0 in page 1. Found Type: string || Expected type: number"
},
This error is the same for all the 50 items in the catalog. @test.johnwalker can you make sure that the last_update field returns a number and not a string, please?
Thank you @antoine.gilbert your help is really appreciated.
Please take time and update the documentation at - Set up Integration Fields - Prismic
Correct property name is not "result_size" but "results_size".
Correct value for property "results[index].last_update" is integer not string