'{"error":{"code":400,"details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","metadata":{"action_name":"CreateAttachment","cause":"Invalid input for attribute Content to operation CreateAttachment.rsb, only InputStream is allowed.","connection_type":"Acumatica"}}],"message":"Unable to execute the specified action.","status":"FAILED_PRECONDITION"}}'
We have been trying to pass CreateAttachment action, but it displays the following error. What kind of InputStream shall we provide? Any Ideas?
Best answer by Vignesh Ponnusamy
Hi @Harry,
Following help document details the steps to add an attachment to a document,
Can you please share more context like screen(to which you are trying to add an attachment), about the CreateAttachment action you are referring? Share the endpoint URL to which you are making the request. Screenshots will help the community member understand the issue precisely. Thanks,
Can you please share more context like screen(to which you are trying to add an attachment), about the CreateAttachment action you are referring? Share the endpoint URL to which you are making the request. Screenshots will help the community member understand the issue precisely. Thanks,