I am using the REST API method for the Verification request. Below is a sample of the code I am using: let data = JSON.stringify({ "method": "sms", "sms": { "code": otpCode } }); let configuration = { method: 'put', maxBodyLength: Infinity, url: `${sinchApiUrl}/id/${referenceId}`, headers: { 'Content-Type': 'application/json', 'Authorization': `Basic ${authToken}` }, data: data }; let result; await axios.request(configuration) .then((response) => { result = response.data; }).catch((); Note: We are not facing this error for every request.
... View more