BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 09-28-2011, 02:34 AM   #1 (permalink)
New Member
Join Date: Sep 2011
Model: 9800
Carrier: ATT
Posts: 2
Post Thanks: 0
Thanked 1 Time in 1 Post
Unhappy 907 Invalid COD

Please Login to Remove!

I hosted COD and JAD on my webserver.
But, while OTA the download fails with this error: 907 Invalid COD

This is a simple application with a form and some buttons.
These are the steps i performed to generate COD and JAD files.

1. I developed my app By using NetBeans 6.9 with BlackBerry JDE 4.5.0 and LWUIT BlackberryPort.jar.
2. When i build my app with NetBeans, i got App.jad and App.jar files in my distribution folder.
3. I use these JAD and JAR files to generate my COD file with the help of BlackBerry JDE 4.5.0 rapc command.
4. It successfully generates a COD file with some debug files.
5. After extracting COD files, I upload all files to my hosting server with JAD file.

OTA works perfectly fine for BB 9800, 9700 simulators.
but when i try with 8300, 8350i, 8120 I receive this error, "907 Invalid COD".

I tried everything by setting MIME types, clearing simulator cache, change browser type to BB etc. but still i am facing this issue.

Kindly guide me to resolve this problem.

The Following User Says Thank You to akash99g For This Useful Post:
thilakshan (11-17-2011)
Old 09-28-2011, 08:25 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default Re: 907 Invalid COD

I suspect your 8300, 8350i and 8120 are not running OS version 4.5 or higher.
My other Blackberry is a PlayBook.
Old 09-28-2011, 09:04 AM   #3 (permalink)
New Member
Join Date: Sep 2011
Model: 9800
Carrier: ATT
Posts: 2
Post Thanks: 0
Thanked 1 Time in 1 Post
Default Re: 907 Invalid COD

Thanks for the reply,

it is mentioned in a forum that 8300 has v4.5.0, 8350i has v4.6.1 and 8120 is listed under v4.3.0 and v4.5.0.

JDE 4.3.0
8110 8120 8130

JDE 4.5.0
8100 8110 8120 8130 8300 8310 8320 8330 8700 8703e 8800 8820 8830

JDE 4.6.0

JDE 4.6.1
8900 8350i

even i tried with Blackberry JDE 4.3.0 and still same result.
how can i verify my simulator OS. in 8300 simulator --> help --> about, it says: BlackBerry Smartphone Simulator what does it mean?
Old 09-28-2011, 12:03 PM   #4 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: 907 Invalid COD

Make sure you remove the JAD file prior to doing your "production" build. Sometimes the JAD will contain a reference to an obsolete COD file (like app-3.cod) that does not actually exist in the current build.
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: 907 Invalid COD
Thread Thread Starter Forum Replies Last Post
907 invalid cod exceeded the limit of number of bytes allowed per connection harraisss General BlackBerry Discussion 1 02-11-2011 02:35 AM
Trouble installing COD over the air -- 907 Invalid COD HTTP Error 406: Not Acceptable psladic Developer Forum 4 09-30-2008 01:32 PM
Getting Error 907 Invalid Cod when downloading application through BES using OTA hemant.bobade Developer Forum 3 06-19-2008 08:05 AM
OTA + 907 Invalid COD : HTTP Error 404 : NOT Found satyam Developer Forum 5 04-03-2008 01:29 AM
907 Invalid COD and Signing Problem nasmork Developer Forum 2 02-21-2008 10:13 AM

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.