403 Error in Android app while uploading image

Hello,
I am trying to upload images to server using POST method. I am getting 403 error while receiving response. Already passing token in headers. Can anyone please help me with the issue. I saw others facing same issue yet no solution to provided for the problem.
@revant_one if you have any ideas please help.
Thank you in advance.

Did you try this [solved] cURL example of an attachment upload RPC call? - #3 by MartinHBramwell

@revant_one
Sorry if I was not clear before. Actually I need help with Android app.

Thank you.

You’ll get frappe framework and ERPNext help here.

You’ll need to convert curl command to java/kotlin code.

Try this Volley String post request from a curl command - Stack Overflow