When I call the first API (the GET method), the phoneNumber gets formatted as below before being saved in the DB:
+9665XXXXXXXX --> +966 XX XXX XXX
Then, when I call the second API (the POST method), the phoneNumber does not get formatted, therefore, inside the onGoingProcess method when it tries to query for the phoneNumber in the DB it cannot find it due to the format difference.
I am using the dummy provider.
When I call the first API (the GET method), the phoneNumber gets formatted as below before being saved in the DB: +9665XXXXXXXX --> +966 XX XXX XXX
Then, when I call the second API (the POST method), the phoneNumber does not get formatted, therefore, inside the onGoingProcess method when it tries to query for the phoneNumber in the DB it cannot find it due to the format difference.