McCartney received treatment at a hospital in Tokyo, publicist Perri Cohen said in a statement Thursday.
The former Beatle is expected to make a complete recovery and will be taking time to rest. McCartney cancelled his entire “Out There Japan Tour 2014” this week because of his illness.
McCartney was also scheduled to perform at a Seoul stadium on May 28. It would have been his first concert in South Korea.
McCartney, who turns 72 next month, “has been extremely moved by all the messages and well wishes he has received from fans all over the world,” the statement said.
The tour is scheduled to resume next month in the United States. McCartney will play a handful of shows starting June 14 in Lubbock, Texas.