1. Need assistance in adding POST,GET method in serverless custom app
2. Trying to use GET and POST method in my code for integration but getting a error like
The mandatory key(s), display_name,type, missing for the ‘getTickets’ field.
Invalid type, undefined, found in the ‘getTickets’ field.
Invalid key(s), schema, found in the ‘getTickets’ field
I suspect that the app contains the schema of the request in the iparams.json file, inferring from the error message saying field. Can you check if it’s added in the config/requests.json or config/iparams.json file? It should be defined in the config/requests.json file.
@Harshvitha_M I’m unable to reproduce the same with the same code in the requests.json file.
I have used the same code in the requests.json and ran the app. The app is running without throwing the mentioned errors in the FDK version - 9.1.0 (beta)
Could you confirm your FDK version? If there are any updates available with the “fdk version” command, could you update the FDK and check again?
Hey @Harshvitha_M,
I noticed that the requests.json file has the iparam values embedded in them, can you replace them as <%= iparam.domain %> and <%= iparam.apikey %> assuming the iparams.json is accepting domain and apikey as iparams.