Community

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

Comments

353 comments
cfjedimaster
cfjedimaster

352 comments. Isn't it time to retire this for a proper set of forums? Heck, even a simple Google Group would be better. Sorry to add to the noise, but I'd like to see something more dev friendly here.

KarlMonaghan
KarlMonaghan

Dude, he was a frog once. A woman taking up the hammer isn't a big deal. If you need a masculine hero there's still a long list available like Captain America, Spiderman, Hulk, Iron Man, Cable, Thing, and so on and and on and on....

anteres01
anteres01

leave thor alone ,we need a masculine super hero and in the norse pantheon thor is male ,don't change that don't listen to the n.o.w. traitors if you want a norse then allow a valkari to defy oden and joine thor on earth ,even let her give him a ride occasionally on her pegesi ( winged horse ) but leave thor alone

msmm
msmm

Hey guys, cool api but I'm receiving a 401 error with the following message {"code":"InvalidCredentials","message":"This user is not allowed to use that service."}, anyone else having the same issue? 

fteem
fteem

Curious, why does the API return 409 (conflict) when searching for resources? Not an API design expert, but having every error code being the same makes our lives a bit harder, don't you think? Thanks in advance for explaining! Cheers!

holyelvis
holyelvis member

What's the situation with missing descriptions for some really classic characters - Loki, Doom, Magneto all have zero data in the description field.  Seems like that would be kind of problematic for many users of the API.

jontower
jontower member

How often will the "character" fields be updated?  I noticed there are a lot of comics without info, or without the right info (Iron Man is in almost every Wolverine comic!).


Is this something that comes in by drips and drops everyday, a major update every few months or no update in sight?

BT841
BT841 plus member

I accidentally Signed Up. How can i cancel this?

FranPR9
FranPR9

hi, is there a way to test the api on my localhost?

tyang209
tyang209

Is there a general guideline as to how the same characters from different universes are separated? For example, there are two Jean Greys when you pull from the API. 


IDs (1009496, 1009327) 


Any rhyme or reason as to why?

OWaz
OWaz

Just an FYI if requesting with /v1/public/characters and you set nameStartsWith to a 0 (ZERO) you will get a 409 "nameStartsWith cannot be blank if it is set"

jonallured
jonallured

Suggestion: All API endpoints should be able to be ordered by ID.

pete
pete moderator

Hi All - 


We've made some changes to the comics endpoint based on some requests from you all.  You can now look up comics directly by series name, issue number and series year (without having to go through the series endpoint).  More info here: http://developer.marvel.com/news_and_updates


Note this is NOT the "D" release, just a tweak to Cable.  We know what will be in the "D" release and what the version name will be though.


- peter

antonioortegajr
antonioortegajr

I seem to be unable to pull comics by character from recent date ranges? In the API tester I can pull comics for this week. For example She-Hulk #4. In the return I do not see an array of characters. So when I go to fetch comics by character ID that comic is not returned. Is this data not there? I am unable find characters for this comic by comic ID either. If I search by character ID for this week using She-Hulks Char ID nothing shows up. Or even date range I get no comics. Url created by API tester: http://gateway.marvel.com:80/v1/public/characters/1017111/comics?dateRange=2013-01-01%2C2014-05-07&apikey=mykey 


Anyone else having this issue? If this issue was addressed already sorry, this commenting system doesn't have a search.

aecg
aecg

I have a problem with my api call. I call for public/characters?limit=50&apikey=MyKey, but I get : 

{"code":"InvalidCredentials","message":"The passed referrer is not allowed for the passed API key."}

do you know why?

Lorem_Ipsum
Lorem_Ipsum

I have a problem with my api call. I call for public/characters with all the params, but I get : {"code":"InvalidCredentials","message":"This user is not allowed to use that service."} do you know why?

pokazzam
pokazzam

How to fix this "{"code":"InvalidCredentials","message":"That hash, timestamp and key combination is invalid."}". I don't understand how to combine ts & apikey & hash. How to convert into md5 file

pete
pete moderator

@anteres01 Please keep discussions in this thread around the developer portal and API.  

pete
pete moderator

@fteem We use a variety of error codes for other types of errors (see http://developer.marvel.com/documentation/authorization near the end).  409 errors are mostly used for missing or invalid parameters in queries to the API.  Each error code returned has both a numerical code and a short text description that explains the error.

pete
pete moderator

@holyelvis We will check this out - most major characters should have something.

pete
pete moderator

@jontower They are updated frequently but sporadically.  

Rchristiani
Rchristiani

I am having similar issues, I have a small node server that is running port :4200 I have 'localhost' and 'localhost*' addded as referres, but I still can not get access. I get 'No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.'  


Any ideas?

pete
pete moderator

@andz-85 What error message are you receiving?

jonallured
jonallured

Sorry, what I really meant was all API endpoints that can be ordered should allow ID as a method of sorting them. :)

pete
pete moderator

@antonioortegajr  Try character id 1009583.  There's a couple of different She-Hulks.

pete
pete moderator

@Lorem_Ipsum  I will take a look at your account - you should be able to access all public APIs.

Lorem_Ipsum
Lorem_Ipsum

@pokazzam  In php it's done like that : 

$public_key = 'myPyblicKey';

$private_key = 'myPrivateKey';

$ts = time();

$hash = md5($ts.$private_key.$public_key);

Rchristiani
Rchristiani

I have able to solve my issue, it was just a bad request it looks like.

antonioortegajr
antonioortegajr

@pete Tried again with comics this week call: http://gateway.marvel.com:80/v1/public/comics?format=comic&formatType=comic&dateDescriptor=thisWeek&apikey=myapikey Returns empty array for characters. Tried the Iron Man issue from the return of the above url. http://gateway.marvel.com:80/v1/public/comics/50024?myapikey returns empty array of characters. Same with Nightcrawler #2. I can pull what comics are coming out next week, but no data on what chrachters are in these comics. Is this data not ready or am I missing something? I did assume Iron man and Night Crawler would have at least their char IDs in the return.

antonioortegajr
antonioortegajr

@pete Tried the character ID you suggested, but nothing returned in the API tester. URL generated: http://gateway.marvel.com:80/v1/public/characters/1009583/comics?dateDescriptor=thisMonth&apikey=943c149ea5e654a43e439f621976449c This doesn't seem to be a She-Hulk issue this month, I get the same with Deadpool or Spidey (using character IDs). Also I do not see character IDs in the array for this week comics. All other calls I test are working correctly.

FranPR9
FranPR9

can anybody upload those?

antonioortegajr
antonioortegajr

@pete characters is still empty. All methods returning something like:


"available": 0,
I NEED a way to programmatically check for any comics Spider-Ham "id": 1011347 in them every week. I think we all do.