<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: base64 and add-update-automation-script (Thread)</title><description> Hi,  I tried to add a script with this api.  projects/{project_id}/test-cases/{test_case_id}/add-update-automation-script?automation_engine_id={automation_engine_id}&amp;url_or_filename={url_or_filename}&amp;description={description}&amp;version={version}&amp;project_attachment_type_id={project_attachment_type_id}&amp;project_attachment_folder_id={project_attachment_folder_id}  Is working fine for Linked files, but if I want to send directly the base64 in the payload, it fires an error.  The server encountered an error processing the request. The exception message is Unexpected character encountered while parsing value: G. Path , line 1, position 1.. See server logs for more details. The exception stack trace is:  at Inflectra.SpiraTest.Web.Services.Rest.NewtonsoftJsonDispatchFormatter.DeserializeRequest(Message message, Object[] parameters) at Inflectra.SpiraTest.Web.Services.Rest.UriTemplateDispatchFormatter.DeserializeRequest(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)     Any suggestions?  Thanks </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/2877.aspx</link><item><guid isPermaLink="false">threadId=2877</guid><author>Emilio Sabatucci (sabatucci@gmail.com)</author><title>base64 and add-update-automation-script</title><description> Hi,  I tried to add a script with this api.  projects/{project_id}/test-cases/{test_case_id}/add-update-automation-script?automation_engine_id={automation_engine_id}&amp;url_or_filename={url_or_filename}&amp;description={description}&amp;version={version}&amp;project_attachment_type_id={project_attachment_type_id}&amp;project_attachment_folder_id={project_attachment_folder_id}  Is working fine for Linked files, but if I want to send directly the base64 in the payload, it fires an error.  The server encountered an error processing the request. The exception message is Unexpected character encountered while parsing value: G. Path , line 1, position 1.. See server logs for more details. The exception stack trace is:  at Inflectra.SpiraTest.Web.Services.Rest.NewtonsoftJsonDispatchFormatter.DeserializeRequest(Message message, Object[] parameters) at Inflectra.SpiraTest.Web.Services.Rest.UriTemplateDispatchFormatter.DeserializeRequest(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)     Any suggestions?  Thanks </description><pubDate>Wed, 13 Dec 2023 09:02:28 -0500</pubDate><a10:updated>2023-12-15T18:53:02-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2877.aspx</link></item><item><guid isPermaLink="false">messageId=6549</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Which version of the API are you using (v5.0, v6.0 or v7.0)?  The data formats are slightly differe</title><description> Which version of the API are you using (v5.0, v6.0 or v7.0)?  The data formats are slightly different.  Thanks  David </description><pubDate>Wed, 13 Dec 2023 12:18:09 -0500</pubDate><a10:updated>2023-12-13T12:18:09-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2877.aspx#reply6549</link></item><item><guid isPermaLink="false">messageId=6552</guid><author>Emilio Sabatucci (sabatucci@gmail.com)</author><title> 7.0 </title><description> 7.0 </description><pubDate>Fri, 15 Dec 2023 07:48:26 -0500</pubDate><a10:updated>2023-12-15T07:48:26-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2877.aspx#reply6552</link></item><item><guid isPermaLink="false">messageId=6553</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> That looks like the correct API and type of data to send. For a more specific answer, could you ple</title><description> That looks like the correct API and type of data to send. For a more specific answer, could you please  send details of the actual request to our support team ?  That is private unlike the forum. </description><pubDate>Fri, 15 Dec 2023 18:53:02 -0500</pubDate><a10:updated>2023-12-15T18:53:02-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/2877.aspx#reply6553</link></item></channel></rss>