Community

Share your ideas, questions and suggestions with Marvel and other developers here.

Comments

529 comments
dumpingrom
dumpingrom

Ahem yeah, me again...


I'm getting this now :-/ : {"code":500,"status":"No entry is registered for key 'multidb'"}


Does anyone know what it means? Can't find any error in my request :'(


Cheers

oshliaer
oshliaer

@dumpingrom  Could you explane more? It seems you are passing a wrong api-key. 


Cheers!

dumpingrom
dumpingrom

@oshliaer @dumpingrom Hi. Thanks a lot for your answer!


My API key is fine, so are the timestamp and md5 hash...


I just git-reverted all changes I made to the file making the http request (I'm using AngularJS) and the issue is still happening.


I really can't put my finger on what is going wrong. I suppose if the issue was on their side, everyone would be posting about the same issue...


Thanks

dumpingrom
dumpingrom

@oshliaer @dustinc46 Hum, so yeah it's definitely on their side... I just tried requesting from the Interactive Documentation, same error.


They must be using Zend I guess xD


Cheers anyway o/

dumpingrom
dumpingrom

Hi all!


I manage to fetch the data which is visible in Console > Network, but I am getting an error with the result ie. "Unexpected token :" as if the result JSON had a syntax error...


Has anyone run into that issue as well?


Thanks!

dumpingrom
dumpingrom

Nevermind, I'm using GET method and am fetching an object instead, works OK

dustinc46
dustinc46

@dumpingrom I'm having the same "No entry is registered.." error. My request was working fine but apparently I changed something somewhere and it suddenly started giving me a 500 error. Could you explain how you fixed it? 

nre4ma
nre4ma

I found a project in github called marvelousdb. He actually put some of the JSON responses there. I noticed that most his (character)responses have the extra member called "wiki": {...} at the very end which is what I've been looking for. How did he get that to be a part of his response? Is that something that Marvel recently removed? Here's a sample response, scroll to the very end of the file: https://github.com/asamiller/marvelousdb/blob/master/data/characters/1011128.json

nre4ma
nre4ma

When I send a request using the API tester in the Marvel Developer API site, I get a similar response but without the "wiki" member. I hope they add that back because that's it makes each character data more useful and informative.

mattdesl
mattdesl

I think I found a bug: the TTFB request time increases dramatically as the offset is higher. For example, querying 'characters' with an offset of 0 is pretty fast (400ms). Using an offset of 1000 is much slower (20-25 seconds). I'm testing in the browser using only publicKey.

mattdesl
mattdesl

I'm working on a wrapper for the API in Node/Browser:
https://github.com/mattdesl/marvel-comics-api


Right now browser-based requests are sending "ts" and "apikey" query parameters. Is this a problem? 

Also do you guys have a twitter or any way to contact other than the comments here?


arjunmarvel
arjunmarvel

I have made an Marvel android app, Can I publish it in play store??

oshliaer
oshliaer

@arjunmarvel http://developer.marvel.com/terms

3. CREATING APPS

Each prospective developer must complete a brief online registration form (found here: http://developer.marvel.com/account) that may include, without limitation: Your contact information, a description of the App(s) you intend to develop, the APIs or Tools that you intend to access, the intended audience for your App (i.e., the territories you plan to make your App available in), and whether your App is a standalone Marvel-only App or an App through which Content is being made available along with content from any other person or entity.

The following default rules apply to all Apps:

Advertising. No advertising or sponsorship of any kind may appear on or be associated with any App (unless included in the Content made available by Marvel).

No Charge. All Apps must be offered free of charge to download or otherwise access and may not contain any in-App purchase features or any other method of monetization, unless approved in writing by Marvel pursuant to a separate written agreement as described below.

If you are interested in creating an App that is paid and/or contains monetization features, please contact us at Marvel-api-help@marvel.com to discuss a potential business relationship. All for-profit Apps must be pre-approved in writing by Marvel (such approval to be granted or withheld in Marvel's sole discretion). To the extent any for-profit Apps are approved in writing by Marvel (in its sole discretion), you will be solely responsible for any and all taxes due in connection with the distribution of such App in any territory.

vishnusharma
vishnusharma

@oshliaer sorry my bad I was using specific character ID this is why I was getting only one item in result. 

nre4ma
nre4ma

Finally got mine to work. I hope they add more specific character information such as real-name, D0B, Powers, Strength, Agility, etc. Also I'm surprised that some of the major characters don't even have images or descriptions in them or they're not available at all. Try looking up Venom for example.

oshliaer
oshliaer

@nre4ma  It's true. Try to subscribe to updates. For an example GET /v1/public/characters Character{orderBy: 'modified'}

oshliaer
oshliaer

@nre4ma  Which Venom you are interested in?

  • "id": 1011128,  "name": "Venom (Ultimate)"
  • "id": 1010788, "name": "Venom (Mac Gargan)"
  • "id": 1009663, "name": "Venom (Flash Thompson)"

nre4ma
nre4ma

@oshliaer Thanks. I guess this works if my use the nameStartsWith parameter instead of just name. I will need to change my request to use that which is no problem. I was actually looking at this site https://imarvel.co. It's using the Marvel API but it seems that he's able to get much more data for each character that seems to be coming from the marvel.com/universe detail link. I wonder how he did that?

nre4ma
nre4ma

@oshliaer Thanks. I saw that also but that's a URL link and not the data in the page referenced by the link. I wonder how he got the data in that page with the API just returning a url link of that page.

kiramishima
kiramishima

Hi, i create my developer account, i read all comunity info for call the api, i create hash with md5( ts + privatekey + public key) , works fine but return bad response :( , i send the apikey, hash,ts & name params.

I try:
http://gateway.marvel.com/v1/public/characters?apikey=<Public Key>&name=Spider-Man&hash=afcfbca2f2728b929cffe061b6e7364b&ts=5

  1. code"InvalidCredentials"
  2. message"This user is not allowed to use that service."

kiramishima
kiramishima

@oshliaer 

@kiramishima Hi i run the angular repo, runs fine, but when i use my own API KEY 5305e899796f531cdf9ac5bd9e43b39f , Marvel API return 
{ "code": "InvalidCredentials", "message": "This user is not allowed to use that service." }
I dont have idea if need configure Your authorized referrers or I need use private key vs oublic key :( 

prolink007
prolink007

It appears there is not a whole lot of developer support here. Is there somewhere else the Marvel developers are more responsive?

nxdeveloper
nxdeveloper

I've noticed that sometimes the thumbnail object is null despite the response giving an OK 200 status. The problem with this is that an async .then() will believe the full response to be available for its callback to work on, when in fact, the image is not yet available. 


Has anyone else come cross this issue?

JorgeDDW
JorgeDDW

How do I create the hash for the url?


JorgeDDW
JorgeDDW

@oshliaer @JorgeDDW Ok, thx  a lot btw.


So I need to convert the md5 with my programming language? 

I'm using python btw.

ChrisChinchilla
ChrisChinchilla

@oshliaer @JorgeDDW Doing the same thing, but in a simpler way. Still getting the 401 error, "{"code":"InvalidCredentials","message":"That hash, timestamp and key combination is invalid."}"


Shame, I wanted to use the API in a tutorial :(


You got it working fine?

caherin
caherin member

If we can post Requests/suggestions for the comics here, i think it wouLd be cool if you guys started doing a RegulaR all new all different AvengErs 2099 comic to show how the future Of the marvel universe has changed post-secret wars. Unless marvel 2099 is its own universe, i think you should do a Regular 2099 comic since a lot of stuff is changing that will affect the course of the future, and there is A LOT of cool stuff and new things You Guys could do with this comic, so you should consider it!

counterhit121
counterhit121 member

Recently subscribed, very happy with content, but huge bugs with the app: specifically random "Failed to Download Resource" errors.  Have tried removing item from library, readding, restarting app, restarting tablet, nothing seems to work to resolve.  Able to download these problem comics on other devices, however.  PLEASE CORRECT.

prolink007
prolink007

How often is this database updated with new issues and variants? Does it get all variants for every marvel comic? If you checkout comic id 52655, which is star wars #4. It shows no variants, but there are a few. Looking for a reliable api for variants and this does not seem to be reliable. Maybe i am just doing something wrong or reading the information wrong.

prolink007
prolink007

@Jakeman893 So, how do i see a list of all variants for a specific comic? I tried using the "v1/public/comics/{comicId}" query and it shows an empty list for "variants". The only way to use that query is to use the comic id.

Jakeman893
Jakeman893

@prolink007 @Jakeman893 The best way I can see right now is to use the v1/public/comics/ query after getting the exact name of the issue, then the results should only have that specific issue. It really is something that should be changed though, especially with the number of allowed calls.

Jakeman893
Jakeman893

@prolink007 I have this issue as well, the thing is that a comic id does not encapsulate all the variants. Each variant has its own comic id.

prolink007
prolink007

@Jakeman893 This is not working. Variants is still empty. If you are able to see variants populated for "star wars #4", please let me know. I am still not able to see the variants for that comic.

grod79
grod79 member

Is there a wait time for keys to become active? I can get the interactive docs to load but if I copy and paste the code into a browser I get a you must provide a hash error.

http://gateway.marvel.com/v1/public/characters/1009187?apikey=myKey

If I follow the directions to use a TS, Pub Key, and Hash I get an error about the combo not existing. There is public key posted lower in these comments. I click that link and get data. If I replace that key with mine I'm back to the same hash needed error. Please Help!


adeel_turk
adeel_turk

And  i am hitting this in my browser actually  i wanted to build an android app. Any help would be appreciated Thank u

adeel_turk
adeel_turk

@oshliaer Thanks alot for helping me alot. u are superman to me :D

now i wanted to get a comic(Obviously a free one) to display  that to user what should i do i mean does this api return any array of pics of that comic . 

adeel_turk
adeel_turk

@oshliaer I think i should, first ask u...is it even possible to get a free comic so that i can display that in my app? Thank you