The ‘code’ query parameter provided in the HTTP request did not match the expected value

Occasionally I have an issue when I call an azure function from a logic app. This is the error: { “statusCode”: 400, “headers”: { “Pragma”: “no-cache”, “Cache-Control”: “no-cache”, “Date”: “Thu, 24 Nov 2016 00:32:40 GMT”, “Server”: “Microsoft-IIS/8.0”, “X-AspNet-Version”: “4.0.30319”, “X-Powered-By”: “ASP.NET”, “Content-Length”: “103”, “Content-Type”: “application/json; charset=utf-8”, “Expires”: “-1” }, “body”: { “Message”: “The ‘code’ query…