Closed mluis closed 3 years ago
One possible solution could be not having attached the policy to the device.
Did attaching a policy fix the failed HTTP request?
Did attaching a policy fix the failed HTTP request?
In my case to the device.
Is that a yes? If so please close the issue
No, it isn't a yes. Why would I close the issue?
EDIT: is the issue closed?
No, the issue is not closed. Could you elaborate on what you mean by:
In my case to the device.
It appears that you think that attaching a policy to the device might fix your problem and I wanted to know if that worked.
One possible solution could be not having attached the policy to the device.
Are you suggesting this as a fix to your own problem? or that this is a possible cause of the error that you are getting? or something else?
Also more additional information would be helpful. eg: Platform/OS/Device, what setup is required to reproduce this, any other additional context that might be relevant.
I'm suggesting the error should address exactly whats the problem.
Please refer to https://github.com/aws-amplify/amplify-cli/issues/4532#issuecomment-644267910 for more context.
@mluis, if you want help with this issue please state clearly what happened and what you expect, you seem to assume that we have knowledge of your previous issues on aws-amplify but these are different teams with different people working on them.
From your comments it seems like you needed to attach a policy to the greengrass device, which yea it will need, this is expected, but that's assuming you are no longer seeing the error...
So, if attaching it "fixed" your error, then there is no bug, and if it didn't please provide the information @jmklix is asking for (Platform/OS/Device etc.) so we can properly reproduce this. Second problem you bring up is the error message being unclear, assuming not attaching the policy was your problem, I'm guessing you'd want to have an error saying "no policy attached to device" or something along those lines?
@KaibaLopez you guessed it right. Like me! If having an error saying "no policy attached to the device" would go under close scrutiny!
@mluis I think you are asking for a specific warning to show when a policy is not attached and that is not the level of detail that this sdk shows with the error warnings. There is a v2 c++ sdk so no feature requests are being added to this sdk.
If you haven't already, take a look at this guide that steps through the entire setup process including the policy docs.
While trying to run the RobotArm example I'm getting this issue:
Does anyone has an idea of what could be the solution?