Im developing a RESTful API in which returns the file (aka "blob") associated with item #1234 to download. But the request could be made before the file has been generated. It definitely will be available at a later time.
I don't want to return 404; that's for things that do not exist. This will exist, but hasn't been generated yet. Kinda like a YouTube video that's "processing." I don't think redirection codes would be proper either; there's no "other" URL to try.
The 5xx (Server Error) class of status code indicates that the serveris aware that it has erred or is incapable of performing therequested method. Except when responding to a HEAD request, theserver SHOULD send a representation containing an explanation of theerror situation, and whether it is a temporary or permanent condition.
The 503 (Service Unavailable) status code indicates that the serveris currently unable to handle the request due to a temporary overloador scheduled maintenance, which will likely be alleviated after somedelay. The server MAY send a Retry-After header field... to suggest an appropriate amount of time for theclient to wait before retrying the request.
The request has been accepted for processing, but the processing has not been completed. [...]Its purpose is to allow a server to accept a request for some other process (perhaps a batch-oriented process that is only run once per day)
The 423 (Locked) status code means the source or destination resource of a method is locked. This response SHOULD contain an appropriate precondition or postcondition code, such as 'lock-token-submitted' or 'no-conflicting-lock'.
Since your resource is not ready, you probably know when (approximately) it will be available and when client may retry his request. This means you might want to utilize Retry-After header. This header is valid with 503 (Service Unavailable), which means whole site is down for maintenance, and 3xx (Redirection) responses.
If you cant fulfill the request by returning the data - then its not a success. I think 202 suggests the server has queued the request and it will fulfill the request later. But in your case, the request is for data now and has failed. If you retry later it is a different request.
I think you have a conflict.. you want the data.. but its being edited / updated. This would also be the case if Thingy1234 already existed and had been successfully downloaded before, but now was in the process of being edited was was unavailable whilst the edit was taking place.
After I clicked ok, then I saw where 23.98 of 24.98 GB was written. Looked at bottom of BD and it was about 90% written to. Any suggestions as what this may be or where I should be looking for the definitions for error codes? I am lost on this one. Don't even know where to start looking.
Also, it is as if there may be something wrong with the timeline. After all, about 90% of the BD was burned. But then, why would I get a "Device not ready" after 90% of the BD had been burned. Maybe it was a bad BD? Or, my brand new burner just went bad. I will try it to a folder and see what happens.
As well as the below, right click the Encore icon and select Run as Administrator, which is NOT the same thing as running the computer with the Administrator account, and which fixes several "odd" problems... To create a two layer DVD (or a BluRay?), you MUST have Encore set to use the Run as Administrator option
Create an ISO (Encore) or folder on your hard drive (Encore or Premiere Elements) and then use the FREE =download to write files or folders or ISO to disc for DVD or BluRay (send the author a PayPal donation if you like his program)
When you write to disc with Imgburn, use the SLOWEST possible speed setting, so your burner has the best chance to create "good, well formed" laser burn holes... since no DVD player is required to read a burned disc, having a "good" one from a high quality blank will help
John. thanks for your reply. I just tried the administrator setting. Will see how that works. This is only a single layer BD. As for file names, I just checked and I do have about 5 AVI files that I created in AE. They are near the end of the time line. They are about 50 characters in length. As you may have seen in my previous post to Stan, I did make it through the transcodeing processs with out any errors showing up. However, that being said, it would be wise for me to shorten them down a bit.
Being an Administrator when you use your computer is not the same as running as an administrator... I found that out the first time I tried to do a dual layer DVD... so use the link I sent to tell Encore that you always want to Run as Administrator
I also NEVER go direct to disc out of Encore... I always have Encore create ISO/folder and then use Imgburn... an extra step, but Imgburn gives much greater control over the burn process... specifically, I always burn at the slowest possible speed
I assume you are referring to the "AuthorScriptHDMVSessions folder." I don't know how you could build a BD project without getting files in this folder. However, the folder is not created until the build, and a tmp folder exists until the build is complete, so I wonder if the final folder is not created when the build errors.
Stan, I just tried burning the image to a floder as you suggested. This was strange. You will not believe this. I created a folder as you suggested. In Encore, I set it up as my destination folder. I hit build. The next thing I saw on the screen was the Build box, and inside it was: "Building Streams" Down below it was Data Written: 23.97 GB of 24.98 GB. It took about 10 min to build the stream. Then I got "Folder Completed." It was as if was finish the build. I went and checked the folder and it was 21.4 GB in size. Not exactly the size of my projec, but close. Any idea as to what is going on?
Steph, thanks so much for your post. Your error message looks much like mine except I have nothing following the "Note:". I am using BD by Philips. I chose that brand because many users had stated that they had the best results with them. Before I switch to Sony, I am going to first try a few of the suggestions that Stan and John had made. My player is a LG that writes at 12x speed. Encore did not list any speed nor did it give me any choices for speed. If it tried to burn my 6x BD at 12x speed, then their my problem. Later today I am going to down load the software they told me about and try burning at 1x speed. The Philips BD is rated 1x-6x. I will let you all know later how well this works.
IT WORKED. The BD worked perfectly in my player. Imgburn did it. The lowest speed setting they allowed me to use was 2x. I also used verify so it did take a while for it finish. I must say that I was a bit intimidated with all the different settings on Imgburn. I just muddled my way through it while I was looking for the speed setting. Apparently most everything was defaulted to correctly. It must be good software for me to have good results the very first time. I really appreciate that suggestion. I am curious to know why Adobe does not allow to set the write speed on a BD like they do on my DVD burns. I bet that if I was able to set the write speed to something 6x or lower, I would have never had this problem. Maybe it has to do with the outside supplier. It didn't help that I went out and purchased a fast burner. If I had a much older burner, that would have been slower than 6x, I might not have seen this problem. Anyway, I am going to suggest to Adobe that they find a way to give me control of my write speed for my BD. Since they blank out the speed when Blue-ray is selected tells me that they might not be able to do it.
I'm not at my BD burner machine, but help says Encore displays the drive's max speed and allows you to select a lower speed. I don't think the problem is that Encore is not allowing speed setting, but that something in this project/drive/disk etc allows only one speed.
The Code 3 error message varies as to the content of the "Notes." All Code 3's are not AS_StorageErrors. We don't know whether your error message is truncated, or whether it is Code 3 with no Notes specified.
Stan, it may be that I added the BD burner after Encore was installed. The DVD burner was in the machine before Encore was installed. The DVD burner only allows 6x speed. If what you are describing is true, Encore should allow lower speeds than 6x for my DVD burner. Technically, if the BD display should show at least 10x. I have tried "refresh" and still the BD speed is blacked out. Do you know of anything that I may have done wrong to only allow one DVD speed and no BD speed?
I just checked with LG electronics. They just released this Blue-ray player last November. There are no firmware updates. Being that this unit is so new, Adobe probably does not have any drivers or software that works with this burner. I guess this is a problem when buying the latest and greatest new products. LOL I guess I will just have to keep using Imgburn until Adobe has software that recognizes my BD burner. It may be the same problem with my DVD burner. I just built this machine last November/December. I purchased all the parts separately. It is 100% custom. As for the DVD drive, it was what a friend recommended. I was not to particular about the DVD drive so I ended up with an ASUS. I heard a lot of good things about the LG BD drive. I did not realize that this unit was so new.
I also got Error Code 3 & Error Code 25 while using Encore CS5.5 for Mac while burning a 3:15 hour long wedding video on a 50 GB BD. Problem got solved when i renamed ppro time line to a short name with no spaces or other special characters. made a new project in encore, imported time line into it, just with name change transcoding time reduced too much and buring when normal.
2001 Prizm/Corolla - CEL is off, no trouble codes, all other monitors are ready, but not the catalytic convertor. No repairs since a new battery mid December. The smog guy (California) says that he can let another monitor go but not the cat; it costs him too many points.
3a8082e126