The incident happened at around midday on Friday, April 30, near Sir Harry Lauder Road.
No other vehicles were involved and no one was injured.
Officers confirmed that a person was charged with alleged road traffic offences and was issued a fixed penalty notice.
A police spokeswoman said: "We were called after a lorry struck a bridge near to Sir Harry Lauder Road.
"Nobody was injured.”
"The lorry has been removed and the road was cleared at around 3pm.
"The driver of the lorry has been charged with alleged road traffic offences and issued with a fixed penalty notice.”
A spokesman from ScotRail confirmed that the bridge was not damaged.
Willie Reid, who was driving past the bridge after the incident happened, said: “I saw police in attendance, around three cars.
"Lorry back end was all twisted.”