Import Bitmap not working.. AWS connection error?

Hi,

I just updated to 1.17.2 and my Import Bitmap component stopped working, any ideas? Just temp AWS problem?

image

  1. Solution exception:Method not found: ‘Amazon.Runtime.IAmazonService ShapeDiver.Public.Aws.ClientFactory.IAwsClientFactoryPublic.GetS3Client(System.String)’.

Which version of Rhino and Windows are you using?

Please check whether there are any old leftover packages in directory C:\Users\axl\AppData\McNeel\Rhinoceros\packages.

Rhino 7.37.24107.15001, (2024-04-16)

Deleted old packages… also uninstalled and re-installed. Now I get this:

  1. Could not read from URI: System.Exception: Download failed, status code Forbidden: Forbidden
    at ShapeDiverForGrasshopper.ShapeDiverFileInputComponentBase.<>c__DisplayClass46_0.<b__0>d.MoveNext()
    — End of stack trace from previous location where exception was thrown —
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at ShapeDiver.Common.Threading.AsyncHelperSingleton.RunSync(Func`1 func)
    at ShapeDiverForGrasshopper.ShapeDiverFileInputComponentBase.SolveInstance(IGH_DataAccess DA)

Ok that looks good, because this error shows that the download failed due to a HTTP 403 (Forbidden) status code. You should be able to reproduce this by opening the URL in a browser.

1 Like

It works fine when I upload the model and run it via shapediver.com

But yes , I do get the same error in Web Browser. Thanks!

The 403 error means that public access to the URL is forbidden, or it also could mean that the object the URL is pointing to does not exist. Are you sure that access to the URL works when your model runs on ShapeDiver?

It does work when I run it through ShapeDiver but doesn’t work on the GH canvas.

Don’t worry about it , the main issue was solved when re-installing the plugin. Thanks for your help!