I have been successfully using the earlier version of the API and want to upgrade to the new version. I am trying this example (https://github.com/scalr-tutorials/apiv2-examples/tree/master/python) and also trying to connect via the API Explorer like on this page (https://api-explorer.scalr.com/user/images/get.html). I have verified that I set it up right in the /etc/scalr-server/scalr-server.rb file:
app[:configuration] = {
:scalr => {
# Enable the system API
:system => {
:api => {
:enabled => true,
:allowed_origins => '*'
},
},
and I have my credentials set properly. But when I try to run a query to get a list of images (like on the API explorer page I listed above) I get the following response:
{
"meta": {
"requestId": "549b445c-7a76-449f-98ce-b3daff2d884f",
"stringToSign": "GET\n2016-11-28T16:53:58.239Z\n/api/v1beta0/user/1/images/\n\n"
},
"errors": [
{
"code": "InternalServerError",
"message": "Server Error"
}
]
}
I get the same thing when I try to run the example in Git, I get an "InternalServerError".
Any ideas what this could be?
Thanks!
> email to scalr-discuss+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>> > email to scalr-discuss+unsubscribe@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "scalr-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Ron Rabakukk
> ron.ra...@gmail.com
> r...@rabakukk.com
> (512) 986-0358
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalr-discuss+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
>> > email to scalr-discuss+unsubscribe@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "scalr-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Ron Rabakukk
> ron.ra...@gmail.com
> r...@rabakukk.com
> (512) 986-0358
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scalr-discuss+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Is there any documentation anywhere on what is available for the API v2 with the version that we have? Thanks.
On Mon, Nov 28, 2016 at 11:20 AM, Igor Savchenko <> wrote:
Images management was added in 7.X version which is available only as
Enterprise Edition. You need to wait for the next OS release.
Regards,
Igor
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "scalr-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Ron Rabakukk
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/V23_FdpKmLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks.So anytime I get the response:"errors": [ { "code": "InternalServerError", "message": "Server Error" } ]that means it isn't supported in our version? It seems that is the error I get on everything I'd like to use out of the APIv2 Explorer.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It looks like that worked. I was able to run the example and am able to get data back from the API Explorer. Thanks for your help!
To unsubscribe from this group and all its topics, send an email to scalr-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.