none
Couldn't able to upload any file (csv, xml) to bing map through via C# code through Service. RRS feed

  • Question

  • Could you please anyone solve this issue. I couldn't able to upload file to bing map through via C# code. Its through the 401 error and get access was denied.

    Follow below url, 

    https://spatial.virtualearth.net/REST/v1/Dataflows/LoadDataSource?loadOperation=Incremental&dataSourceName=RetailSource&setPublic=1&input=xml&output=json&key=AmIRQi21dI_DQF67HeebYV-CHPWJec1LDC9DIEjdfLyBPT28HMy4K3iQS9bJBILq

    Result :-

    {"authenticationResultCode":"ValidCredentials","brandLogoUri":"http:\/\/spatial.virtualearth.net\/Branding\/logo_powered_by.png","copyright":"Copyright © 2018 Microsoft and its suppliers. All rights reserved. This API cannot be accessed and the content and any results may not be used, reproduced or transmitted in any manner without express written permission from Microsoft Corporation.","errorDetails":["The requested resource was not found."],"resourceSets":[],"statusCode":404,"statusDescription":"Not Found","traceId":"483cb28b17a747839f04192770962005|CH10001A58|7.7.0.0"}

    Error :-

    The remote server returned an error: (401) Unauthorized.

    Access was denied. You may have entered your credentials incorrectly, or you might not have access to the requested resource or operation.

    Tuesday, July 31, 2018 1:07 PM

All replies

  • Hi Balaji,

    My assumption is that you are following the steps at https://msdn.microsoft.com/en-us/library/gg585130.aspx. The message returned states "ValidCredentials" & "The requested resource was not found".  That implies that you do have valid rights to use the service but not to access the incoming file. Are you sure you have the rights to access the input file you are using?

    Sincerely,

    IoTGirl

    Tuesday, July 31, 2018 3:31 PM
    Owner