Web Services Create Operation Failing 404 error

Continuing the discussion from WebServices Creation Operation:

Hello everyone!

I am facing similar issue , but my error code is 404 . The same payload is working on postman . But not on Create Account operation :
Exception occurred while performing ‘Create’ operation on identity ‘null’

This create operation will have an id in its response . This id is passed in add access operation.

Any leads on achieving this ?

Thanks !

Have you selected the right operation in your config? I guess it should be POST and probably you have GET

Hi @iamnithesh , No , the configured operation is POST

Hi @sidharth_tarlapally, there are many possibilities, and you can check it one by one like - mapping of attribute values you are passing from create operation, schema values. you can take help of ccg.log file which will give you more clear error message. Please post here if you got observations from these points.

@sidharth_tarlapally the issue is definitely with the request body.

I have faced this multiple times.

Did you try hardcoding the body that you are passing? If not please try with hardcoded values and see if it works.

Make sure your response mapping is correct, you need to map the unique id to correlate the newly created account.

Make sure your single account aggregation is configured correctly and working fine as after creating a new account connector internally calls a single account aggregation.

Try printing requestEndpoint and see how body is coming. Try the same body in the postman see if that is working.

By this you can narrow down the issue and I certainly feel like it will work for you.

Regards,
Shekhar Das

Response Mapping was wrong . Thank you !

1 Like

@sidharth_tarlapally Great to hear that it is working for you.

Regards,
Shekhar Das

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.